Files
securityonion/updatemaster.sh
2018-09-28 18:40:23 -04:00

10 lines
253 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/