]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/ntp/templates/default/chrony.conf.erb
ntp: allow large steps on VMs
[chef.git] / cookbooks / ntp / templates / default / chrony.conf.erb
index aa6992d776e1bca1a9b1a4908898f7e79474dce5..9f7b30d491f583d31f75b5ec29bbe405ba66b340 100644 (file)
@@ -29,6 +29,8 @@ rtcsync
 <% if node[:virtualization][:role] == "guest" -%>
 # Allow anytime step on VM guests
 makestep 1 -1
+# Allow 1h changes and do not exit
+maxchange 3600 1 -1
 <% else -%>
 # Step the system clock instead of slewing it if the adjustment is larger than
 # one second, but only in the first three clock updates.