diff --git a/setup/so-setup b/setup/so-setup index 08d67d2da..e75bfd8c8 100755 --- a/setup/so-setup +++ b/setup/so-setup @@ -307,20 +307,17 @@ if ! [[ -f $install_opt_file ]]; then set_main_ip >> $setup_log 2>&1 compare_main_nic_ip + if [[ $is_minion ]]; then + collect_mngr_hostname + add_mngr_ip_to_hosts + fi + reset_proxy if [[ -z $is_airgap ]]; then collect_net_method [[ -n "$so_proxy" ]] && set_proxy >> $setup_log 2>&1 fi - if [[ $is_minion ]]; then - collect_mngr_hostname - fi - - if [[ $is_minion ]]; then - add_mngr_ip_to_hosts - fi - if [[ $is_minion ]]; then whiptail_ssh_key_copy_notice copy_ssh_key >> $setup_log 2>&1