From 25a080f085dc3f970873bc5083c5638be2a4c298 Mon Sep 17 00:00:00 2001 From: Andrew Battat Date: Tue, 14 Jan 2025 19:51:12 +0000 Subject: [PATCH] Update max_retries --- ic-os/components/setupos-scripts/check-ntp.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ic-os/components/setupos-scripts/check-ntp.sh b/ic-os/components/setupos-scripts/check-ntp.sh index 4792fad6020..15d0b370217 100644 --- a/ic-os/components/setupos-scripts/check-ntp.sh +++ b/ic-os/components/setupos-scripts/check-ntp.sh @@ -20,7 +20,7 @@ function check_ntp() { log_and_halt_installation_on_error "$?" "Chrony service not running or not active." retries=0 - max_retries=5 + max_retries=30 while [ "$(timedatectl show -p NTPSynchronized --value)" != "yes" ]; do if [ $retries -ge $max_retries ]; then local service_logs=$(journalctl -u chrony.service --no-pager)