modify set bonding function
new file: install_shell/set_bonding.sh deleted: install_shell/set_network.sh modified: setup.sh Signed-off-by: swei <swei@linx-info.com>
This commit is contained in:
9
install_shell/set_bonding.sh
Executable file
9
install_shell/set_bonding.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
IF_CONFIG="/etc/sysconfig/network-devices"
|
||||
|
||||
echo 'bonding mode=6 max_bonds=1' >> /etc/sysconfig/modules
|
||||
|
||||
cp ${IF_CONFIG}/bond-examples/ifcfg-bond0 ${IF_CONFIG}
|
||||
cp ${IF_CONFIG}/bond-examples/ifcfg-eth0 ${IF_CONFIG}
|
||||
cp ${IF_CONFIG}/bond-examples/ifcfg-eth1 ${IF_CONFIG}
|
||||
Reference in New Issue
Block a user