mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-12 04:02:50 +01:00
Setup Script - Ubuntu bond beginnings
This commit is contained in:
@@ -130,8 +130,13 @@ create_bond() {
|
|||||||
# Create Bond files
|
# Create Bond files
|
||||||
|
|
||||||
else
|
else
|
||||||
echo bonding >> /etc/modules
|
apt-get install ifenslave
|
||||||
|
echo "bonding" >> /etc/modules
|
||||||
modprobe bonding
|
modprobe bonding
|
||||||
|
echo "auto bond0" >> /etc/network/interfaces
|
||||||
|
echo "iface bond0 inet static" >> /etc/network/interfaces
|
||||||
|
echo " bond-mode 0" >> /etc/network/interfaces
|
||||||
|
echo " bond-slaves ${BNICS[@]}" >> /etc/network/interfaces
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -603,7 +608,6 @@ if (whiptail_you_sure) then
|
|||||||
create_bond
|
create_bond
|
||||||
saltify
|
saltify
|
||||||
configure_minion sensors
|
configure_minion sensors
|
||||||
copy_ssh_key
|
|
||||||
copy_minion_pillar SENSORONLY
|
copy_minion_pillar SENSORONLY
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user