mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Setup - copy from the onion home dir vs root
This commit is contained in:
@@ -1078,8 +1078,8 @@ salt_master_directories() {
|
||||
|
||||
# Copy over the salt code and templates
|
||||
if [ $INSTALLMETHOD == 'iso' ]; then
|
||||
cp -R /root/SecurityOnion/pillar/* /opt/so/saltstack/pillar/
|
||||
cp -R /root/SecurityOnion/salt/* /opt/so/saltstack/salt/
|
||||
cp -R /home/onion/SecurityOnion/pillar/* /opt/so/saltstack/pillar/
|
||||
cp -R /home/onion/SecurityOnion/salt/* /opt/so/saltstack/salt/
|
||||
else
|
||||
cp -R $SCRIPTDIR/../pillar/* /opt/so/saltstack/pillar/
|
||||
cp -R $SCRIPTDIR/../salt/* /opt/so/saltstack/salt/
|
||||
|
||||
Reference in New Issue
Block a user