From cab0fb369fbc5b4f16c47c500976ff6f953c44b2 Mon Sep 17 00:00:00 2001 From: Mike Reeves Date: Thu, 12 Dec 2019 15:44:13 -0500 Subject: [PATCH] Copying Helps with -R --- setup/functions.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup/functions.sh b/setup/functions.sh index f88b6eef9..c90a15b23 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 /root/SecurityOnion/pillar/* /opt/so/saltstack/pillar/ - cp /root/SecurityOnion/salt/* /opt/so/saltstack/salt/ + cp -R /root/SecurityOnion/pillar/* /opt/so/saltstack/pillar/ + cp -R /root/SecurityOnion/salt/* /opt/so/saltstack/salt/ else cp -R $SCRIPTDIR/../pillar/* /opt/so/saltstack/pillar/ cp -R $SCRIPTDIR/../salt/* /opt/so/saltstack/salt/