source: trunk/packages/invirt-autoinstaller/common/usr/lib/xen-tools/debian.d/98-install-base-system @ 2141

Last change on this file since 2141 was 2128, checked in by broder, 16 years ago

Need to pass -y to aptitude.

  • Property svn:executable set to *
File size: 759 bytes
RevLine 
[2073]1#!/bin/sh
2#
3#  This script installs the sort of things you expect on an Ubuntu
4#  system
5#
6
7prefix=$1
8
9#
10#  Source the common functions
11#
12if [ -e /usr/lib/xen-tools/common.sh ]; then
13    . /usr/lib/xen-tools/common.sh
14else
15    . ./hooks/common.sh
16fi
17
18logMessage Script $0 starting
19
20installDebianPackage ${prefix} ubuntu-minimal
21installDebianPackage ${prefix} ubuntu-standard
22
[2117]23# For Debian, there is no metapackage, but we can pull in the
24# equivalent based on package priority
[2073]25#
[2117]26# (On Ubuntu Hardy, this will additionally pull in libdns32, libisc32,
27# and nfs-common, which seems fairly benign
28installDebianPackage ${prefix} aptitude
[2128]29chroot ${prefix} aptitude -y install '~prequired|~pimportant|~pstandard'
[2117]30
31#
[2073]32# Log our finish
33#
34logMessage Script $0 finished
Note: See TracBrowser for help on using the repository browser.