mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-14 13:12:49 +01:00
Setup Script - Fix install_master function
This commit is contained in:
@@ -165,7 +165,12 @@ got_root() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
install_master() {
|
install_master() {
|
||||||
yum -y install salt-master
|
if [ $OS == 'centos' ]; then
|
||||||
|
yum -y install salt-master
|
||||||
|
else
|
||||||
|
apt install -y salt-master
|
||||||
|
fi
|
||||||
|
|
||||||
copy_master_config
|
copy_master_config
|
||||||
# If Centos Enable the service
|
# If Centos Enable the service
|
||||||
}
|
}
|
||||||
@@ -411,7 +416,7 @@ if (whiptail_you_sure) then
|
|||||||
start_salt
|
start_salt
|
||||||
echo "accepting master key"
|
echo "accepting master key"
|
||||||
accept_salt_key_local
|
accept_salt_key_local
|
||||||
|
|
||||||
whiptail_setup_complete
|
whiptail_setup_complete
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user