Files
securityonion/updatemaster.sh
2018-10-02 11:20:12 -04:00

13 lines
360 B
Bash

#!/bin/bash
# Clone github
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
chmod 755 /opt/so/saltstack/pillar/firewall/addfirewall.sh
rm -rf /tmp/sogh