[fix] Only check for network init file if iso

This commit is contained in:
William Wernert
2021-01-12 11:22:52 -05:00
parent 38e37a0385
commit fb31b56c8b

View File

@@ -268,7 +268,7 @@ if ! [[ -f $install_opt_file ]]; then
collect_mngr_hostname
fi
if [[ $is_minion ]] || [[ $reinit_networking ]] || ! [[ -f $net_init_file ]]; then
if [[ $is_minion ]] || [[ $reinit_networking ]] || [[ $is_iso ]] && ! [[ -f $net_init_file ]]; then
whiptail_management_interface_setup
fi