From 113e558a0538b62ae44fc1ef99f06b8707feef4f Mon Sep 17 00:00:00 2001 From: William Wernert Date: Tue, 20 Apr 2021 14:32:17 -0400 Subject: [PATCH] Set manager early for proxy config --- setup/so-setup | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) 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