Revert "don't set is_airgap when using nonairgap_useiso: not a true airgap sy…"

This commit is contained in:
Jorge Reyes
2026-02-18 09:42:12 -06:00
committed by GitHub
parent a29eff37a0
commit d00fb4ccf7

View File

@@ -206,18 +206,14 @@ check_airgap() {
else
nonairgap_useiso=1
fi
if [[ "$AIRGAP" == "true" ]]; then
is_airgap=0
else
is_airgap=1
fi
# use ISO if its airgap install OR ISOLOC was set with -f <path>
if [[ "$AIRGAP" == "true" ]] || [[ $nonairgap_useiso -eq 0 ]]; then
is_airgap=0
UPDATE_DIR=/tmp/soagupdate/SecurityOnion
AGDOCKER=/tmp/soagupdate/docker
AGREPO=/tmp/soagupdate/minimal/Packages
else
is_airgap=1
fi
}