/[sysadmin-cookbook]/recepies/lxc/kvm/01-setup/01-create-kvm-root.sh
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 251 by dpavlin, Fri May 13 19:55:42 2011 UTC revision 256 by dpavlin, Sat May 14 15:46:26 2011 UTC
# Line 5  if [ -z "$SUDO_UID" ] ; then Line 5  if [ -z "$SUDO_UID" ] ; then
5          exit 1          exit 1
6  fi  fi
7    
8  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
9    
10  echo -e "root\nroot" | chroot squeeze passwd  echo -e "root\nroot" | chroot squeeze passwd
11  echo -e "auto lo\niface lo inet loopback\nauto eth0\niface eth0 inet dhcp" \  echo -e "auto lo\niface lo inet loopback\nauto eth0\niface eth0 inet dhcp" \

Legend:
Removed from v.251  
changed lines
  Added in v.256

  ViewVC Help
Powered by ViewVC 1.1.26