consistently use nonairgap_useiso var

This commit is contained in:
reyesj2
2026-02-06 11:55:50 -06:00
parent 1c092bf791
commit 19157aa76c

View File

@@ -207,7 +207,7 @@ check_airgap() {
nonairgap_useiso=1
fi
# use ISO if its airgap install OR ISOLOC was set with -f <path>
if [[ "$AIRGAP" == "true" ]] || [[ ! -z $ISOLOC ]]; then
if [[ "$AIRGAP" == "true" ]] || [[ $nonairgap_useiso -eq 0 ]]; then
is_airgap=0
UPDATE_DIR=/tmp/soagupdate/SecurityOnion
AGDOCKER=/tmp/soagupdate/docker