modify the bond mode to 1

modified:   install_shell/set_bonding.sh

	Signed-off-by: swei <swei@linx-info.com>
This commit is contained in:
swei
2014-04-16 11:06:16 +08:00
parent b46436f532
commit 972c16b860

View File

@@ -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