From 764307bfa055a667f00b8fd5fae5b173c5407103 Mon Sep 17 00:00:00 2001 From: William Wernert Date: Fri, 9 Apr 2021 10:09:28 -0400 Subject: [PATCH] Reformat airgap whiptail prompt --- setup/so-whiptail | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/setup/so-whiptail b/setup/so-whiptail index 368b6b0cd..1fbfa34dd 100755 --- a/setup/so-whiptail +++ b/setup/so-whiptail @@ -23,12 +23,14 @@ whiptail_airgap() { [[ $is_manager || $is_import ]] && node_str='manager' INTERWEBS=$(whiptail --title "Security Onion Setup" --radiolist \ - "Choose your install conditions:" 20 75 4 \ - "STANDARD" "This $node_str has internet accesss" ON \ - "AIRGAP" "This $node_str does not have internet access" OFF 3>&1 1>&2 2>&3 ) + "How should this $node_str be installed?" 10 60 2 \ + "Standard " "This $node_str has internet accesss." ON \ + "Airgap " "This $node_str does not have internet access." OFF 3>&1 1>&2 2>&3 ) local exitstatus=$? whiptail_check_exitstatus $exitstatus + + INTERWEBS=$(echo "${INTERWEBS^^}" | tr -d ' ') } whiptail_avoid_default_hostname() {