From e5ef8de1a85cd2128c496eb59b9598d1e092d3d2 Mon Sep 17 00:00:00 2001 From: Mike Reeves Date: Mon, 9 Dec 2019 10:54:20 -0500 Subject: [PATCH] Fix variable nbame for iso install --- setup/functions.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup/functions.sh b/setup/functions.sh index e543658d3..4880e2fa4 100644 --- a/setup/functions.sh +++ b/setup/functions.sh @@ -252,7 +252,7 @@ configure_minion() { copy_master_config() { # Copy the master config template to the proper directory - if [ $ISOINSTALL == '1' ]; then + if [ $INSTALLMETHOD =='iso' ]; then cp /root/SecurityOnion/files/master /etc/salt/master else cp ../files/master /etc/salt/master @@ -1059,11 +1059,11 @@ salt_master_directories() { mkdir -p /opt/so/saltstack/pillar # Copy over the salt code and templates - if [ $ISOINSTALL == '1' ]; then + if [ $INSTALLMETHOD =='iso' ]; then cp /root/SecurityOnion/pillar/* /opt/so/saltstack/pillar/ cp /root/SecurityOnion/salt/* /opt/so/saltstack/salt/ else - # if ISO /root/SecurityOnion/blah + cp -R ../pillar/* /opt/so/saltstack/pillar/ cp -R ../salt/* /opt/so/saltstack/salt/ fi