From 972c16b8602fbfa47d408a3f79b7cafb24905348 Mon Sep 17 00:00:00 2001 From: swei Date: Wed, 16 Apr 2014 11:06:16 +0800 Subject: [PATCH] modify the bond mode to 1 modified: install_shell/set_bonding.sh Signed-off-by: swei --- install_shell/set_bonding.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install_shell/set_bonding.sh b/install_shell/set_bonding.sh index dd3de2c..eae483c 100755 --- a/install_shell/set_bonding.sh +++ b/install_shell/set_bonding.sh @@ -26,7 +26,7 @@ if [ -f ${IF_CONFIG}/ifcfg-bond0 ];then echo "bonding exit.." else if ! grep -q "^bonding" /etc/sysconfig/modules;then - echo 'bonding mode=6 max_bonds=1' >> /etc/sysconfig/modules + echo 'bonding mode=1 max_bonds=1' >> /etc/sysconfig/modules fi mv ${IF_CONFIG}/ifcfg-eth0 ${IF_CONFIG}/ifcfg-bond0