xen-drbd

changeset 44:cbe58da31273

minifix
author igor@manas.xt.vpn
date Tue Sep 23 15:51:04 2008 +0300 (2008-09-23)
parents 562d6e064e6f
children a91c91c166c4
files xen-drbd-install.py
line diff
     1.1 --- a/xen-drbd-install.py	Tue Sep 23 11:40:23 2008 +0300
     1.2 +++ b/xen-drbd-install.py	Tue Sep 23 15:51:04 2008 +0300
     1.3 @@ -224,17 +224,17 @@
     1.4  kill $(lsof +D /domU/%s | grep -v PID | awk '{print $2}' | sort -u) 2> /dev/null
     1.5  sleep 2
     1.6  kill -9 $(lsof +D /domU/%s | grep -v PID | awk '{print $2}' | sort -u) 2> /dev/null
     1.7 -    """ % (debian_release,domains[0],debian_mirror,domains[0],apt_get_install,domains[0],domains[0])
     1.8 +    """ % (debian_release,linux_domains[0],debian_mirror,linux_domains[0],apt_get_install,linux_domains[0],linux_domains[0])
     1.9  
    1.10  def make_rsync():
    1.11 -    for dom in domains[1:]:
    1.12 +    for dom in linux_domains[1:]:
    1.13          print """
    1.14  rsync -a /domU/%s/ /domU/%s/
    1.15 -        """ % (domains[0], dom)
    1.16 +        """ % (linux_domains[0], dom)
    1.17  
    1.18  
    1.19  def make_install_packages():
    1.20 -    for dom in domains:
    1.21 +    for dom in linux_domains:
    1.22          try:
    1.23              print """
    1.24  chroot /domU/%s apt-get install -y --force-yes %s