mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Setup Script - Enable salt on rebootd
This commit is contained in:
@@ -513,10 +513,12 @@ saltify() {
|
||||
yum clean expire-cache
|
||||
yum -y install salt-minion yum-utils device-mapper-persistent-data lvm2 openssl
|
||||
yum -y update
|
||||
systemctl enable salt-minion
|
||||
|
||||
# Nasty hack but required for now
|
||||
if [ $INSTALLTYPE == 'MASTERONLY' ] || [ $INSTALLTYPE == 'EVALMODE' ]; then
|
||||
yum -y install salt-master python-m2crypto salt-minion m2crypto
|
||||
systemctl enable salt-master
|
||||
else
|
||||
yum -y install salt-minion python-m2m2crypto m2crypto
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user