Skip to content

Commit

Permalink
Update max_retries
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewbattat committed Jan 14, 2025
1 parent 803bc7d commit 25a080f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ic-os/components/setupos-scripts/check-ntp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 25a080f

Please sign in to comment.