install all required packages inside container automatically
authorDobrica Pavlinusic <dpavlin@rot13.org>
Sat, 14 May 2011 15:46:26 +0000 (15:46 +0000)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Sat, 14 May 2011 15:46:26 +0000 (15:46 +0000)
git-svn-id: svn://svn.rot13.org/sysadmin-cookbook@256 191e9f34-6774-4a6d-acfc-7664dacd4a2a

recepies/lxc/kvm/01-setup/01-create-kvm-root.sh

index f7b0420..69f1ab8 100755 (executable)
@@ -5,7 +5,7 @@ if [ -z "$SUDO_UID" ] ; then
        exit 1
 fi
 
-debootstrap squeeze squeeze http://192.168.1.20:3142/ftp.debian.org/debian
+debootstrap --include=psmisc,less,strace,bzip2,make,gcc,libc6-dev,dropbear,lxc squeeze squeeze http://192.168.1.20:3142/ftp.debian.org/debian
 
 echo -e "root\nroot" | chroot squeeze passwd
 echo -e "auto lo\niface lo inet loopback\nauto eth0\niface eth0 inet dhcp" \