mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-16 14:02:52 +01:00
Setup Script - Fix install_master function
This commit is contained in:
@@ -165,7 +165,12 @@ got_root() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
install_master() {
|
install_master() {
|
||||||
|
if [ $OS == 'centos' ]; then
|
||||||
yum -y install salt-master
|
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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user