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

12 lines
343 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