mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Revert "[refactor] Make default route message a warning"
This reverts commit be1f641bf0.
This commit is contained in:
@@ -746,14 +746,9 @@ compare_main_nic_ip() {
|
|||||||
read -r -d '' message <<- EOM
|
read -r -d '' message <<- EOM
|
||||||
The IP being routed by Linux is not the IP address assigned to the management interface ($MNIC).
|
The IP being routed by Linux is not the IP address assigned to the management interface ($MNIC).
|
||||||
|
|
||||||
This has been known to cause installs to fail in some scenarios.
|
This is not a supported configuration, please remediate and rerun setup.
|
||||||
|
|
||||||
Please select whether to continue the install or exit setup to remediate any potential issues.
|
|
||||||
EOM
|
EOM
|
||||||
whiptail --title "Security Onion Setup" \
|
whiptail --title "Security Onion Setup" --msgbox "$message" 10 75
|
||||||
--yesno "$message" 10 75 \
|
|
||||||
--yes-button "Continue" --no-button "Exit" --defaultno
|
|
||||||
|
|
||||||
kill -SIGINT "$(ps --pid $$ -oppid=)"; exit 1
|
kill -SIGINT "$(ps --pid $$ -oppid=)"; exit 1
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
@@ -761,6 +756,7 @@ compare_main_nic_ip() {
|
|||||||
# just set the variable to the IP of the VPN interface
|
# just set the variable to the IP of the VPN interface
|
||||||
MAINIP=$MNIC_IP
|
MAINIP=$MNIC_IP
|
||||||
fi
|
fi
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
compare_versions() {
|
compare_versions() {
|
||||||
|
|||||||
Reference in New Issue
Block a user