mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Setup Script - Add master logic
This commit is contained in:
@@ -77,6 +77,7 @@ copy_ssh_key () {
|
|||||||
|
|
||||||
create_bond () {
|
create_bond () {
|
||||||
# Create the bond interface
|
# Create the bond interface
|
||||||
|
echo "Setting up Bond"
|
||||||
if [ $OS == 'centos' ]; then
|
if [ $OS == 'centos' ]; then
|
||||||
alias bond0 bonding
|
alias bond0 bonding
|
||||||
mode=0
|
mode=0
|
||||||
@@ -351,8 +352,9 @@ if (whiptail --title "Security Onion Setup" --yesno "Are you sure you want to in
|
|||||||
|
|
||||||
# Create bond interface
|
# Create bond interface
|
||||||
if [ $INSTALLTYPE != 'MASTERONLY' ] || [ $INSTALLTYPE != 'STORAGENODE' ]; then
|
if [ $INSTALLTYPE != 'MASTERONLY' ] || [ $INSTALLTYPE != 'STORAGENODE' ]; then
|
||||||
echo "Setting up Bond"
|
|
||||||
create_bond
|
create_bond
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Install Updates and the Salt Package
|
# Install Updates and the Salt Package
|
||||||
|
|||||||
Reference in New Issue
Block a user