Always ask for ntp setup on iso installs, don't ask on network installs

This commit is contained in:
William Wernert
2021-03-30 09:54:21 -04:00
parent 0e9ffe033d
commit 25eca39428
2 changed files with 21 additions and 32 deletions

View File

@@ -534,8 +534,7 @@ if [[ $is_sensor && ! $is_eval ]]; then
fi
fi
check_ntp_configured
[[ -z $ntp_configured ]] && collect_ntp_servers
[[ $is_iso ]] && collect_ntp_servers
if [[ $is_node && ! $is_eval ]]; then
whiptail_node_advanced
@@ -584,7 +583,7 @@ set_redirect >> $setup_log 2>&1
# Show initial progress message
set_progress_str 0 'Running initial configuration steps'
[[ -z $ntp_configured ]] && [[ ${#ntp_servers[@]} -gt 0 ]] && configure_ntp >> $setup_log 2>&1
[[ ${#ntp_servers[@]} -gt 0 ]] && configure_ntp >> $setup_log 2>&1
reserve_ports