mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Update Script - Only sync the salt dir
This commit is contained in:
@@ -5,9 +5,8 @@ mkdir /tmp/sogh
|
|||||||
cd /tmp/sogh
|
cd /tmp/sogh
|
||||||
git clone https://github.com/TOoSmOotH/securityonion-saltstack.git
|
git clone https://github.com/TOoSmOotH/securityonion-saltstack.git
|
||||||
cd securityonion-saltstack
|
cd securityonion-saltstack
|
||||||
rsync -a pillar /opt/so/saltstack/
|
|
||||||
rsync -a --exclude-from 'exclude-list.txt' salt /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
|
chmod 755 /opt/so/saltstack/pillar/firewall/addfirewall.sh
|
||||||
cd ~
|
cd ~
|
||||||
rm -rf /tmp/sogh
|
rm -rf /tmp/sogh
|
||||||
|
|||||||
Reference in New Issue
Block a user