Fix soup in case airgap is in the hostname

This commit is contained in:
Mike Reeves
2021-01-18 18:08:34 -05:00
committed by GitHub
parent a795f0a487
commit 12aa4033b6

View File

@@ -103,7 +103,7 @@ update_registry() {
check_airgap() {
# See if this is an airgap install
AIRGAP=$(cat /opt/so/saltstack/local/pillar/global.sls | grep airgap | awk '{print $2}')
AIRGAP=$(cat /opt/so/saltstack/local/pillar/global.sls | grep airgap: | awk '{print $2}')
if [[ "$AIRGAP" == "True" ]]; then
is_airgap=0
UPDATE_DIR=/tmp/soagupdate/SecurityOnion