mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-08 02:02:50 +01:00
[fix] Fix typo + permissions
This commit is contained in:
@@ -588,7 +588,7 @@ docker_registry() {
|
|||||||
docker_seed_registry() {
|
docker_seed_registry() {
|
||||||
local VERSION="HH$so_version"
|
local VERSION="HH$so_version"
|
||||||
|
|
||||||
if [ ! -f /nsm/docker-registry/docker/so-dockers-"$VERSION".tar ]; then
|
if ! [ -f /nsm/docker-registry/docker/so-dockers-"$VERSION".tar ]; then
|
||||||
local TRUSTED_CONTAINERS=(\
|
local TRUSTED_CONTAINERS=(\
|
||||||
"so-core:$VERSION" \
|
"so-core:$VERSION" \
|
||||||
"so-filebeat:$VERSION" \
|
"so-filebeat:$VERSION" \
|
||||||
@@ -644,7 +644,7 @@ docker_seed_registry() {
|
|||||||
} >> "$setup_log" 2>&1
|
} >> "$setup_log" 2>&1
|
||||||
done
|
done
|
||||||
else
|
else
|
||||||
tar xvf /nsm/docker-registry/dockerso-dockers-$VERSION.tar >> "$setup_log" 2>&1
|
tar xvf /nsm/docker-registry/docker/so-dockers-$VERSION.tar >> "$setup_log" 2>&1
|
||||||
rm /nsm/docker-registry/docker/so-dockers-$VERSION.tar >> "$setup_log" 2>&1
|
rm /nsm/docker-registry/docker/so-dockers-$VERSION.tar >> "$setup_log" 2>&1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -1247,6 +1247,9 @@ set_initial_firewall_policy() {
|
|||||||
|
|
||||||
set_main_ip
|
set_main_ip
|
||||||
|
|
||||||
|
chmod +x /opt/so/saltstack/pillar/data/addtotab.sh
|
||||||
|
chmod +x /opt/so/saltstack/pillar/firewall/addfirewall.sh
|
||||||
|
|
||||||
case "$install_type" in
|
case "$install_type" in
|
||||||
'MASTER')
|
'MASTER')
|
||||||
printf " - %s\n" "$MAINIP" | tee -a /opt/so/saltstack/pillar/firewall/minions.sls /opt/so/saltstack/pillar/firewall/masterfw.sls
|
printf " - %s\n" "$MAINIP" | tee -a /opt/so/saltstack/pillar/firewall/minions.sls /opt/so/saltstack/pillar/firewall/masterfw.sls
|
||||||
|
|||||||
Reference in New Issue
Block a user