mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
15 lines
454 B
Bash
15 lines
454 B
Bash
#!/bin/bash
|
|
|
|
# Clone github
|
|
mkdir /tmp/sogh
|
|
cd /tmp/sogh
|
|
#git clone https://github.com/TOoSmOotH/securityonion-saltstack.git
|
|
git clone https://github.com/Security-Onion-Solutions/securityonion-saltstack.git
|
|
cd securityonion-saltstack
|
|
rsync -a --exclude-from 'exclude-list.txt' salt /opt/so/saltstack/
|
|
chown -R socore:socore /opt/so/saltstack/salt
|
|
chmod 755 /opt/so/saltstack/pillar/firewall/addfirewall.sh
|
|
cd ~
|
|
rm -rf /tmp/sogh
|
|
salt-call state.highstate
|