Add cluster whiptail questions

This commit is contained in:
Mike Reeves
2020-10-19 16:07:22 -04:00
parent 97a2d91d15
commit bab6b151ff
2 changed files with 16 additions and 1 deletions

View File

@@ -631,7 +631,19 @@ whiptail_manager_adv_escluster(){
MGRCLUSTER=$(whiptail --title "Security Onion Setup" --yesno "Do you want to set up a traditional ES cluster?" 8 75)
local exitstatus=$?
whiptail_check_exitstatus $exitstatus
if [[ $exitstatus == 0 ]]; then
whiptail_manager_adv_escluster_name
fi
}
# Get a cluster name
whiptail_manager_adv_escluster_name(){
[ -n "$TESTING" ] && return
ESCLUSTERNAME=$(whiptail --title "Security Onion Setup" --inputbox \
"Enter a name for your ES cluster!" 10 75 securityonion 3>&1 1>&2 2>&3)
}
# Ask which additional components to install