diff --git a/install_shell/set_bonding.sh b/install_shell/set_bonding.sh index eae483c..15da562 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=1 max_bonds=1' >> /etc/sysconfig/modules + echo 'bonding mode=1 max_bonds=1 miimon=100 downdelay=200 updelay=200 primary=eth0' >> /etc/sysconfig/modules fi mv ${IF_CONFIG}/ifcfg-eth0 ${IF_CONFIG}/ifcfg-bond0