From ed6ca5a3a99c6b54344ba367238412fe29855be7 Mon Sep 17 00:00:00 2001 From: Mike Reeves Date: Thu, 12 Dec 2019 16:45:19 -0500 Subject: [PATCH] Setup - copy from the onion home dir vs root --- setup/functions.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup/functions.sh b/setup/functions.sh index c90a15b23..e2d993aed 100644 --- a/setup/functions.sh +++ b/setup/functions.sh @@ -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/