Setup Script - Bond for loop Doug Mods

This commit is contained in:
Mike Reeves
2018-04-10 12:05:11 -04:00
parent 08162a3c3e
commit 49b9f72439

View File

@@ -154,6 +154,7 @@ create_bond() {
# Create a for loop here
for BNIC in ${BNICS[@]}; do
BNIC=$(echo $BNIC | cut -d\" -f2)
echo "auto $BNIC" >> /etc/network/interfaces
echo "iface $BNIC inet static" >> /etc/network/interfaces
echo " up ip link set \$IFACE promisc on arp off up" >> /etc/network/interfaces