From c935191d41cf8f37468bac95b11f4eabddc66e77 Mon Sep 17 00:00:00 2001 From: Mike Reeves Date: Mon, 12 Nov 2018 12:33:03 -0500 Subject: [PATCH] Update Script - Only sync the salt dir --- updatemaster.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/updatemaster.sh b/updatemaster.sh index be2209d41..76e85b878 100644 --- a/updatemaster.sh +++ b/updatemaster.sh @@ -5,9 +5,8 @@ mkdir /tmp/sogh cd /tmp/sogh git clone https://github.com/TOoSmOotH/securityonion-saltstack.git cd securityonion-saltstack -rsync -a pillar /opt/so/saltstack/ rsync -a --exclude-from 'exclude-list.txt' salt /opt/so/saltstack/ -chown -R socore:socore /opt/so +chown -R socore:socore /opt/so/saltstack/salt chmod 755 /opt/so/saltstack/pillar/firewall/addfirewall.sh cd ~ rm -rf /tmp/sogh