xen-drbd

diff xen-drbd-install.py @ 62:d9780d8380b9

minifix
author igor@book.xt.vpn
date Thu Jun 25 17:08:22 2009 +0300 (2009-06-25)
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 Jun 25 17:08:22 2009 +0300
     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:]: