xen-drbd

diff xen-drbd-install.py @ 60:dd23766a87c6

Minor fixes. Hvmlaoder now can be specified by its path in the netowrk config file.
Also slightly changed drbdadm call
author igor@book.xt.vpn
date Thu Mar 19 19:42:41 2009 +0200 (2009-03-19)
parents ae3cd87f8837
children
line diff
     1.1 --- a/xen-drbd-install.py	Tue Oct 14 11:14:26 2008 +0300
     1.2 +++ b/xen-drbd-install.py	Thu Mar 19 19:42:41 2009 +0200
     1.3 @@ -224,12 +224,12 @@
     1.4  do
     1.5  echo deb %s $i main contrib non-free >> /domU/%s/etc/apt/sources.list
     1.6  done
     1.7 -LANG=C chroot apt-get update
     1.8 +LANG=C chroot /domU/%s apt-get update
     1.9  LANG=C chroot /domU/%s apt-get install -y --force-yes %s
    1.10  kill $(lsof +D /domU/%s | grep -v PID | awk '{print $2}' | sort -u) 2> /dev/null
    1.11  sleep 2
    1.12  kill -9 $(lsof +D /domU/%s | grep -v PID | awk '{print $2}' | sort -u) 2> /dev/null
    1.13 -    """ % (debian_release,linux_domains[0],debian_mirror,additional_debian_releases,debian_mirror,linux_domains[0],linux_domains[0],apt_get_install,linux_domains[0],linux_domains[0])
    1.14 +    """ % (debian_release,linux_domains[0],debian_mirror,additional_debian_releases,debian_mirror,linux_domains[0],linux_domains[0],linux_domains[0],apt_get_install,linux_domains[0],linux_domains[0])
    1.15  
    1.16  def make_rsync():
    1.17      for dom in linux_domains[1:]: