mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Fix salt refresh script
This commit is contained in:
@@ -32,8 +32,8 @@ copy_new_files() {
|
|||||||
# Copy new files over to the salt dir
|
# Copy new files over to the salt dir
|
||||||
cd /tmp/sogh/securityonion
|
cd /tmp/sogh/securityonion
|
||||||
git checkout $BRANCH
|
git checkout $BRANCH
|
||||||
rsync -a --exclude-from 'exclude-list.txt' salt $default_salt_dir/
|
rsync -a salt $default_salt_dir/
|
||||||
rsync -a --exclude-from 'exclude-list.txt' pillar $default_salt_dir/
|
rsync -a pillar $default_salt_dir/
|
||||||
chown -R socore:socore $default_salt_dir/salt
|
chown -R socore:socore $default_salt_dir/salt
|
||||||
chown -R socore:socore $default_salt_dir/pillar
|
chown -R socore:socore $default_salt_dir/pillar
|
||||||
chmod 755 $default_salt_dir/pillar/firewall/addfirewall.sh
|
chmod 755 $default_salt_dir/pillar/firewall/addfirewall.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user