mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-02-08 08:13:35 +01:00
Compare commits
3 Commits
reyesj2-pa
...
2.4/dev
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6b4b1d74fd | ||
|
|
f0df6a171c | ||
|
|
dc4cd93c02 |
@@ -206,14 +206,18 @@ check_airgap() {
|
|||||||
else
|
else
|
||||||
nonairgap_useiso=1
|
nonairgap_useiso=1
|
||||||
fi
|
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>
|
# use ISO if its airgap install OR ISOLOC was set with -f <path>
|
||||||
if [[ "$AIRGAP" == "true" ]] || [[ $nonairgap_useiso -eq 0 ]]; then
|
if [[ "$AIRGAP" == "true" ]] || [[ $nonairgap_useiso -eq 0 ]]; then
|
||||||
is_airgap=0
|
|
||||||
UPDATE_DIR=/tmp/soagupdate/SecurityOnion
|
UPDATE_DIR=/tmp/soagupdate/SecurityOnion
|
||||||
AGDOCKER=/tmp/soagupdate/docker
|
AGDOCKER=/tmp/soagupdate/docker
|
||||||
AGREPO=/tmp/soagupdate/minimal/Packages
|
AGREPO=/tmp/soagupdate/minimal/Packages
|
||||||
else
|
|
||||||
is_airgap=1
|
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user