Collect manager info before showing message about copying ssh key

This commit is contained in:
William Wernert
2021-03-16 12:32:37 -04:00
parent c8bbe078a6
commit 1e7aaf9ffb
3 changed files with 5 additions and 3 deletions

View File

View File

View File

@@ -296,6 +296,10 @@ if ! [[ -f $install_opt_file ]]; then
source "$net_init_file" source "$net_init_file"
fi fi
if [[ $is_minion ]]; then
collect_mngr_hostname
fi
if [[ $is_minion ]] || [[ $reinit_networking ]] || [[ $is_iso ]] && ! [[ -f $net_init_file ]]; then if [[ $is_minion ]] || [[ $reinit_networking ]] || [[ $is_iso ]] && ! [[ -f $net_init_file ]]; then
whiptail_management_interface_setup whiptail_management_interface_setup
fi fi
@@ -307,9 +311,7 @@ if ! [[ -f $install_opt_file ]]; then
set_main_ip >> $setup_log 2>&1 set_main_ip >> $setup_log 2>&1
compare_main_nic_ip compare_main_nic_ip
if [[ $is_minion ]]; then
collect_mngr_hostname
fi
reset_proxy >> $setup_log 2>&1 reset_proxy >> $setup_log 2>&1
if [[ -z $is_airgap ]]; then if [[ -z $is_airgap ]]; then