Add next steps to install summary

This commit is contained in:
Josh Brower
2023-03-17 10:14:44 -04:00
parent 336cf3ccf8
commit 8f5daa785b

View File

@@ -1281,14 +1281,25 @@ whiptail_setup_complete() {
local accessMessage=""
fi
MINIONFINGERPRINT=$(salt-call --local key.finger --out=newline_values_only)
read -r -d '' message <<- EOM
Finished ${install_type} installation.
${install_type} initialization is now complete!
To finish configuration, open the Security Onion Console web interface
and navigate to Administration -> Grid Members.
Then find this node in the Pending Members list,
click the Review button, and then click the Accept button.
Node Hostname: $HOSTNAME
Node Fingerprint:
$MINIONFINGERPRINT
$accessMessage
Press the Enter key to exit setup.
Press TAB and then the ENTER key to exit this screen.
EOM
whiptail --title "$whiptail_title" --msgbox "$message" 12 75
whiptail --title "$whiptail_title" --msgbox "$message" 24 75 --scrolltext
}
whiptail_setup_failed() {