diff --git a/setup/so-whiptail b/setup/so-whiptail index f58f65fa2..ea7740ab1 100755 --- a/setup/so-whiptail +++ b/setup/so-whiptail @@ -523,15 +523,24 @@ whiptail_install_type() { [ -n "$TESTING" ] && return # What kind of install are we doing? - install_type=$(whiptail --title "$whiptail_title" --menu \ - "What kind of installation would you like to do?\n\nFor more information, please see:\n$DOC_BASE_URL/architecture.html" 18 65 5 \ - "IMPORT" "Import PCAP or log files " \ - "EVAL" "Evaluation mode (not for production) " \ - "STANDALONE" "Standalone production install " \ - "DISTRIBUTED" "Distributed install submenu " \ - "OTHER" "Other install types" \ - 3>&1 1>&2 2>&3 - ) + if [[ $OS = 'rocky' ]]; then + install_type=$(whiptail --title "$whiptail_title" --menu \ + "What kind of installation would you like to do?\n\nFor more information, please see:\n$DOC_BASE_URL/architecture.html" 18 65 5 \ + "IMPORT" "Import PCAP or log files " \ + "EVAL" "Evaluation mode (not for production) " \ + "STANDALONE" "Standalone production install " \ + "DISTRIBUTED" "Distributed install submenu " \ + "OTHER" "Other install types" \ + 3>&1 1>&2 2>&3 + ) + elif [[ $OS = 'ubuntu' ]]; then + install_type=$(whiptail --title "$whiptail_title" --menu \ + "What kind of installation would you like to do?\n\nFor more information, please see:\n$DOC_BASE_URL/architecture.html" 18 65 5 \ + "DISTRIBUTED" "Distributed install submenu " \ + "OTHER" "Other install types" \ + 3>&1 1>&2 2>&3 + ) + fi local exitstatus=$? whiptail_check_exitstatus $exitstatus @@ -554,11 +563,19 @@ whiptail_install_type_dist() { [ -n "$TESTING" ] && return + if [[ $OS = 'rocky' ]]; then dist_option=$(whiptail --title "$whiptail_title" --menu "Do you want to start a new deployment or join this box to \nan existing deployment?" 11 75 2 \ "New Deployment " "Create a new Security Onion deployment" \ "Existing Deployment " "Join to an existing Security Onion deployment " \ 3>&1 1>&2 2>&3 ) + elif [[ $OS = 'ubuntu' ]]; then + dist_option=$(whiptail --title "$whiptail_title" --menu "Since this is Ubuntu, this box can only be connected to \nan existing deployment." 11 75 2 \ + "Existing Deployment " "Join to an existing Security Onion deployment " \ + 3>&1 1>&2 2>&3 + ) + fi + local exitstatus=$? whiptail_check_exitstatus $exitstatus