xen-drbd

diff xen-drbd-install.py @ 22:2ecda36e8d0d

ip netmask
author igor
date Sun Feb 17 13:32:01 2008 +0200 (2008-02-17)
parents fc201b0bc6f9
children 6e01df357a6a
line diff
     1.1 --- a/xen-drbd-install.py	Sun Feb 17 12:23:52 2008 +0200
     1.2 +++ b/xen-drbd-install.py	Sun Feb 17 13:32:01 2008 +0200
     1.3 @@ -328,7 +328,7 @@
     1.4              print "/etc/xen/scripts/network-bridge start vifnum=%s bridge=%s netdev=%s.%s" % (bridges.index(bridge)+2,bridge,trunk,vlan)
     1.5              print "ip link set %s.%s up" % (trunk,vlan)
     1.6  
     1.7 -    print "ifconfig %s.%s %s" % (trunk,management_vlan,management_ip)
     1.8 +    print "ifconfig %s.%s %s netmask %s" % (trunk,management_vlan,management_ip,management_netmask)
     1.9      if management_gw:
    1.10              print "route add default gw %s" % (management_gw)
    1.11