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-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41fc9c180f79d405bdaaf3eaf1664bbc524dcf24;p=openvswitch 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 bd6aec84..f6a77508 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