From: Gurucharan Shetty Date: Tue, 4 Sep 2012 19:40:27 +0000 (-0700) Subject: debian: Automatically up the slave interfaces of a bond. X-Git-Tag: sliver-openvswitch-1.9.90-1~3^2 X-Git-Url: http://git.onelab.eu/?p=sliver-openvswitch.git;a=commitdiff_plain;h=41fc9c180f79d405bdaaf3eaf1664bbc524dcf24 debian: Automatically up the slave interfaces of a bond. When physical interfaces are added to a bond through the /etc/network/interfaces script, administratively 'up' the slave interfaces. Signed-off-by: Gurucharan Shetty --- diff --git a/debian/ifupdown.sh b/debian/ifupdown.sh index bd6aec846..f6a77508d 100755 --- a/debian/ifupdown.sh +++ b/debian/ifupdown.sh @@ -61,6 +61,10 @@ if [ "${MODE}" = "start" ]; then ${OVS_EXTRA+-- $OVS_EXTRA} ifconfig "${IFACE}" up + for slave in ${IF_OVS_BONDS} + do + ifconfig "${slave}" up + done ;; *) exit 0