mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Switch back to root for salt
This commit is contained in:
@@ -25,7 +25,7 @@
|
|||||||
# permissions to allow the specified user to run the master. The exception is
|
# permissions to allow the specified user to run the master. The exception is
|
||||||
# the job cache, which must be deleted if this user is changed. If the
|
# the job cache, which must be deleted if this user is changed. If the
|
||||||
# modified files cause conflicts, set verify_env to False.
|
# modified files cause conflicts, set verify_env to False.
|
||||||
user: socore
|
# user: socore
|
||||||
|
|
||||||
# The port used by the communication interface. The ret (return) port is the
|
# The port used by the communication interface. The ret (return) port is the
|
||||||
# interface used for the file server, authentication, job returns, etc.
|
# interface used for the file server, authentication, job returns, etc.
|
||||||
|
|||||||
@@ -198,7 +198,8 @@ if (whiptail --title "Security Onion Setup" --yesno "Are you sure you want to in
|
|||||||
|
|
||||||
# Copy the master config over
|
# Copy the master config over
|
||||||
cp files/master /etc/salt/master
|
cp files/master /etc/salt/master
|
||||||
chown -R socore:socore /etc/salt
|
# Comment this out for now
|
||||||
|
# chown -R socore:socore /etc/salt
|
||||||
|
|
||||||
# Start salt master and minion
|
# Start salt master and minion
|
||||||
service salt-master start
|
service salt-master start
|
||||||
@@ -208,7 +209,7 @@ if (whiptail --title "Security Onion Setup" --yesno "Are you sure you want to in
|
|||||||
touch /opt/so/saltstack/pillar/masters/$HOSTNAME.sls
|
touch /opt/so/saltstack/pillar/masters/$HOSTNAME.sls
|
||||||
|
|
||||||
salt-call state.highstate
|
salt-call state.highstate
|
||||||
salt-key -ya $HOSTNAME
|
salt-key -qya $HOSTNAME
|
||||||
salt-call state.highstate
|
salt-call state.highstate
|
||||||
|
|
||||||
# Determine Disk space
|
# Determine Disk space
|
||||||
|
|||||||
Reference in New Issue
Block a user