From 0c4b71f49464583a390fe1dc49c4cc73b22990ac Mon Sep 17 00:00:00 2001 From: Marc Gariepy Date: Mon, 20 Aug 2018 14:55:34 -0400 Subject: [PATCH] Add makestep to chronyd config. This change will adjust the clock at once if the clock is offsetted for more than 1 sec when chronyd starts. Change-Id: Ia8bb5d2b75dfbff33eb7de3a293d943632e6860e --- templates/chrony.conf.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/chrony.conf.j2 b/templates/chrony.conf.j2 index d7a6c8f1..3e5a6b4d 100644 --- a/templates/chrony.conf.j2 +++ b/templates/chrony.conf.j2 @@ -73,6 +73,9 @@ allow {{ subnet }} logchange 0.5 +# Adjust the clock on startup if difference is larger than 1 sec. +makestep 1 3 + # This directive defines an email address to which mail should be sent # if chronyd applies a correction exceeding a particular threshold to the # system clock.