From 41fc9c180f79d405bdaaf3eaf1664bbc524dcf24 Mon Sep 17 00:00:00 2001 From: Gurucharan Shetty Date: Tue, 4 Sep 2012 12:40:27 -0700 Subject: [PATCH] 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 --- debian/ifupdown.sh | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.43.0