From 002fa990559f75f2ed6eb86036c2d3b0052daa24 Mon Sep 17 00:00:00 2001 From: William Wernert Date: Mon, 19 Apr 2021 13:47:50 -0400 Subject: [PATCH] Fix whiptail order --- setup/so-setup | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/setup/so-setup b/setup/so-setup index 0667c99db..6353cb996 100755 --- a/setup/so-setup +++ b/setup/so-setup @@ -302,6 +302,10 @@ if ! [[ -f $install_opt_file ]]; then source "$net_init_file" fi + if [[ $is_minion ]]; then + collect_mngr_hostname + fi + if [[ $is_minion ]] || [[ $reinit_networking ]] || [[ $is_iso ]] && ! [[ -f $net_init_file ]]; then whiptail_management_interface_setup fi @@ -313,10 +317,6 @@ if ! [[ -f $install_opt_file ]]; then set_main_ip >> $setup_log 2>&1 compare_main_nic_ip - if [[ $is_minion ]]; then - collect_mngr_hostname - fi - reset_proxy if [[ -z $is_airgap ]]; then collect_net_method