From bbefb20cb75cdb0cc1e1ab6572644d79bfdaa51c Mon Sep 17 00:00:00 2001 From: daniceexi Date: Fri, 20 Jun 2014 04:35:41 -0400 Subject: [PATCH] configbond: ifdown the bond before ifup it for the case it has been configured --- xCAT/postscripts/configbond | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT/postscripts/configbond b/xCAT/postscripts/configbond index 8ba4cf2d9..9d55e5318 100755 --- a/xCAT/postscripts/configbond +++ b/xCAT/postscripts/configbond @@ -239,7 +239,7 @@ fi echo "alias $str_bond_name bonding" > /etc/modprobe.d/$str_bond_name.conf # Bring down the salve devices first -for slave in ${array_bond_slaves[*]}; do +for slave in ${str_bond_name} ${array_bond_slaves[*]}; do $(ifdown $slave &>/dev/null) done