From aa281f849febff6594e8d3797deddc339419f67f Mon Sep 17 00:00:00 2001 From: William Wernert Date: Mon, 14 Dec 2020 15:31:25 -0500 Subject: [PATCH] [feat] Add message about dropping to command line when setting up ssh key --- setup/so-whiptail | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/setup/so-whiptail b/setup/so-whiptail index 0a2a7e4fc..94b359574 100755 --- a/setup/so-whiptail +++ b/setup/so-whiptail @@ -748,11 +748,14 @@ whiptail_management_interface_setup() { local minion_msg local msg + local line_count if [[ $is_minion ]]; then - minion_msg="copy the ssh key for soremote to the manager" + line_count=11 + minion_msg="copy the ssh key for soremote to the manager. This will bring you to the command line temporarily to accept the manager's ECDSA certificate and enter the password for soremote" else - minion_msg="" + line_count=9 + minion_msg="" fi if [[ $is_iso ]]; then @@ -765,7 +768,13 @@ whiptail_management_interface_setup() { msg=$minion_msg fi - whiptail --title "Security Onion Setup" --yesno "Setup will now $msg. Select YES to continue or NO to cancel." 8 75 + read -r -d '' message <<- EOM + Setup will now $msg. + + Select OK to continue. + EOM + + whiptail --title "Security Onion Setup" --msgbox "$message" $line_count 75 local exitstatus=$? whiptail_check_exitstatus $exitstatus }