xen-drbd

diff xen-drbd-install.py @ 51:d3198c10cc10

minifix
author root@linux10
date Fri Oct 10 18:35:48 2008 +0000 (2008-10-10)
parents 01eb86555abb
children 21f21fa8f106
line diff
     1.1 --- a/xen-drbd-install.py	Tue Sep 30 12:44:29 2008 +0300
     1.2 +++ b/xen-drbd-install.py	Fri Oct 10 18:35:48 2008 +0000
     1.3 @@ -161,7 +161,7 @@
     1.4      print "drbdadm up all"
     1.5      for dom in domains:
     1.6          for disk in disk_table[dom]:
     1.7 -            print "drbdsetup %s primary -o" % disk.split(':')[0]
     1.8 +            print "drbdsetup /dev/%s primary -o" % disk.split(':')[0]
     1.9  
    1.10  
    1.11  def make_links():
    1.12 @@ -271,8 +271,8 @@
    1.13      network %s.0
    1.14      broadcast %s.255
    1.15      gateway %s
    1.16 +    dns-search %s
    1.17      dns-nameservers %s
    1.18 -    dns-search %s
    1.19  INTERFACES
    1.20          """ % (dom,ip_address_table[dom],ip_network, ip_network, ip_gateway, domain_name, ip_nameserver)
    1.21