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