# HG changeset patch # User igor # Date 1203243832 -7200 # Node ID fc201b0bc6f9ce81ec06afa81a06f987144a95ae # Parent 1a20c33686baa88e7f362a54ac844533f8327e5b trunk down before making bridge diff -r 1a20c33686ba -r fc201b0bc6f9 xen-drbd-install.py --- a/xen-drbd-install.py Sun Feb 17 12:02:42 2008 +0200 +++ b/xen-drbd-install.py Sun Feb 17 12:23:52 2008 +0200 @@ -311,7 +311,7 @@ def make_bridges(): ip=get_management_ip() gw=get_default_gateway() - print "ifconfig %s 0.0.0.0" % (trunk) + print "ifconfig %s 0.0.0.0 down" % (trunk) # tagged interfaces for bridge in bridges: diff -r 1a20c33686ba -r fc201b0bc6f9 xen-scripts-network-xen-drbd --- a/xen-scripts-network-xen-drbd Sun Feb 17 12:02:42 2008 +0200 +++ b/xen-scripts-network-xen-drbd Sun Feb 17 12:23:52 2008 +0200 @@ -5,13 +5,13 @@ [ -e /etc/default/xen-drbd ] && . /etc/default/xen-drbd case $1 in - start) - $XEN_DRBD_PATH/xen-drbd-install.py ${TOPOLOGY_NAME} make-bridges | sh -s - ;; - stop) - ;; - *) - echo $0 'start|stop' - ;; + start) + $XEN_DRBD_PATH/xen-drbd-install.py ${TOPOLOGY_NAME} make-bridges | sh -s + ;; + stop) + ;; + *) + echo $0 'start|stop' + ;; esac