xen-drbd

changeset 59:d68ff2fdea92

fix
author Igor Chubin <igor@chub.in>
date Tue Oct 14 11:33:59 2008 +0300 (2008-10-14)
parents ae3cd87f8837
children dd23766a87c6
files xen-drbd-install.py
line diff
     1.1 --- a/xen-drbd-install.py	Tue Oct 14 11:14:26 2008 +0300
     1.2 +++ b/xen-drbd-install.py	Tue Oct 14 11:33:59 2008 +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:]: