mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-08 10:12:53 +01:00
Fix soup in case airgap is in the hostname
This commit is contained in:
@@ -103,7 +103,7 @@ update_registry() {
|
|||||||
|
|
||||||
check_airgap() {
|
check_airgap() {
|
||||||
# See if this is an airgap install
|
# 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
|
if [[ "$AIRGAP" == "True" ]]; then
|
||||||
is_airgap=0
|
is_airgap=0
|
||||||
UPDATE_DIR=/tmp/soagupdate/SecurityOnion
|
UPDATE_DIR=/tmp/soagupdate/SecurityOnion
|
||||||
|
|||||||
Reference in New Issue
Block a user