mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Only show the web interface link when the redirect URL is available, such as on manager nodes
This commit is contained in:
@@ -1064,17 +1064,21 @@ whiptail_setup_complete() {
|
||||
|
||||
[ -n "$TESTING" ] && return
|
||||
|
||||
if [[ -n "$REDIRECTIT" ]]; then
|
||||
if [[ -n $ALLOW_CIDR ]]; then
|
||||
local sentence_prefix="Access"
|
||||
else
|
||||
local sentence_prefix="Run so-allow after reboot to access"
|
||||
fi
|
||||
local accessMessage="\n${sentence_prefix} the web interface at: https://${REDIRECTIT}\n"
|
||||
else
|
||||
local accessMessage=""
|
||||
fi
|
||||
|
||||
|
||||
read -r -d '' message <<- EOM
|
||||
Finished ${install_type} installation.
|
||||
|
||||
${sentence_prefix} the web interface at: https://${REDIRECTIT}
|
||||
|
||||
$accessMessage
|
||||
Press ENTER to reboot.
|
||||
EOM
|
||||
|
||||
|
||||
Reference in New Issue
Block a user