ensure we can grab management ip and display whiptail if we cant

This commit is contained in:
m0duspwnens
2022-04-08 12:05:38 -04:00
parent ae8d300567
commit 3e8c687d61
3 changed files with 33 additions and 5 deletions

View File

@@ -260,7 +260,7 @@ if ! [[ -f $install_opt_file ]]; then
printf '%s\n' \
"MNIC=$MNIC" \
"HOSTNAME=$HOSTNAME" > "$net_init_file"
set_main_ip >> $setup_log 2>&1
set_main_ip
compare_main_nic_ip
fi
@@ -275,7 +275,7 @@ if ! [[ -f $install_opt_file ]]; then
printf '%s\n' \
"MNIC=$MNIC" \
"HOSTNAME=$HOSTNAME" > "$net_init_file"
set_main_ip >> $setup_log 2>&1
set_main_ip
compare_main_nic_ip
whiptail_net_setup_complete
else
@@ -375,7 +375,7 @@ if ! [[ -f $install_opt_file ]]; then
network_init
fi
set_main_ip >> $setup_log 2>&1
set_main_ip
compare_main_nic_ip
if [[ $is_minion ]]; then