Merge pull request #3170 from Security-Onion-Solutions/bugfix/setup-configure-network

Fix logic for configure network option in setup
This commit is contained in:
Josh Patterson
2021-02-26 15:43:38 -05:00
committed by GitHub
2 changed files with 3 additions and 1 deletions

View File

@@ -191,7 +191,7 @@ if ! [[ -f $install_opt_file ]]; then
fi
if [[ $setup_type == 'iso' ]] && [ "$automated" == no ]; then
whiptail_first_menu_iso
if [[ $option == "Configure Network" ]]; then
if [[ $option == "CONFIGURENETWORK" ]]; then
network_init_whiptail
whiptail_management_interface_setup
network_init

View File

@@ -652,6 +652,8 @@ whiptail_first_menu_iso() {
)
local exitstatus=$?
whiptail_check_exitstatus $exitstatus
option=$(echo "${option^^}" | tr -d ' ')
}
whiptail_make_changes() {