mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-08 10:12:53 +01:00
Setup Script - Bond for loop Doug Mods
This commit is contained in:
@@ -154,6 +154,7 @@ create_bond() {
|
|||||||
|
|
||||||
# Create a for loop here
|
# Create a for loop here
|
||||||
for BNIC in ${BNICS[@]}; do
|
for BNIC in ${BNICS[@]}; do
|
||||||
|
BNIC=$(echo $BNIC | cut -d\" -f2)
|
||||||
echo "auto $BNIC" >> /etc/network/interfaces
|
echo "auto $BNIC" >> /etc/network/interfaces
|
||||||
echo "iface $BNIC inet static" >> /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
|
echo " up ip link set \$IFACE promisc on arp off up" >> /etc/network/interfaces
|
||||||
|
|||||||
Reference in New Issue
Block a user