Change back to validating proxy, show user error message from curl

This commit is contained in:
William Wernert
2021-03-16 10:18:02 -04:00
parent 086f2b3437
commit 59c62393b5
3 changed files with 8 additions and 12 deletions

View File

@@ -213,7 +213,7 @@ if ! [[ -f $install_opt_file ]]; then
"HOSTNAME=$HOSTNAME" > "$net_init_file"
set_main_ip >> $setup_log 2>&1
compare_main_nic_ip
reset_prpxy >> $setup_log 2>&1
reset_proxy >> $setup_log 2>&1
collect_proxy
[[ -n "$so_proxy" ]] && set_proxy >> $setup_log 2>&1
whiptail_net_setup_complete
@@ -311,9 +311,9 @@ if ! [[ -f $install_opt_file ]]; then
collect_mngr_hostname
fi
reset_prpxy >> $setup_log 2>&1
reset_proxy >> $setup_log 2>&1
if [[ -z $is_airgap ]]; then
collect_proxy_details
collect_proxy
[[ -n "$so_proxy" ]] && set_proxy >> $setup_log 2>&1
fi