xen-drbd

changeset 52:21f21fa8f106

minifix
author root@linux10
date Fri Oct 10 18:43:08 2008 +0000 (2008-10-10)
parents d3198c10cc10
children 748e00890579
files xen-drbd-install.py
line diff
     1.1 --- a/xen-drbd-install.py	Fri Oct 10 18:35:48 2008 +0000
     1.2 +++ b/xen-drbd-install.py	Fri Oct 10 18:43:08 2008 +0000
     1.3 @@ -370,7 +370,7 @@
     1.4      for bridge in bridges:
     1.5          vlan=vlans[bridges.index(bridge)]
     1.6          if vlan == 'tagged': 
     1.7 -            print "/etc/xen/scripts/network-bridge start vifnum=%s bridge=%s netdev=%s" % (bridges.index(bridge)+2,bridge,trunk)
     1.8 +            print "/etc/xen/scripts/network-bridge-for-xen-drbd start vifnum=%s bridge=%s netdev=%s" % (bridges.index(bridge)+2,bridge,trunk)
     1.9              print "ip link set %s up" % (trunk)
    1.10  
    1.11      # untagged interfaces
    1.12 @@ -378,7 +378,7 @@
    1.13          vlan=vlans[bridges.index(bridge)]
    1.14          if vlan != 'tagged': 
    1.15              print "vconfig add %s %s" % (trunk,vlan)
    1.16 -            print "/etc/xen/scripts/network-bridge start vifnum=%s bridge=%s netdev=%s.%s" % (bridges.index(bridge)+2,bridge,trunk,vlan)
    1.17 +            print "/etc/xen/scripts/network-bridge-for-xen-drbd start vifnum=%s bridge=%s netdev=%s.%s" % (bridges.index(bridge)+2,bridge,trunk,vlan)
    1.18              print "ip link set %s.%s up" % (trunk,vlan)
    1.19  
    1.20      print "ifconfig %s.%s %s netmask %s" % (trunk,management_vlan,management_ip,management_netmask)