Fix logic for configure network option in setup

This commit is contained in:
William Wernert
2021-02-26 15:40:20 -05:00
parent 26a22b8e3b
commit fd877a2256
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() {