summaryrefslogtreecommitdiff
path: root/templates/ntp.conf.el.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/ntp.conf.el.erb')
-rw-r--r--templates/ntp.conf.el.erb6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/ntp.conf.el.erb b/templates/ntp.conf.el.erb
index fc308cc..88d6d72 100644
--- a/templates/ntp.conf.el.erb
+++ b/templates/ntp.conf.el.erb
@@ -1,3 +1,9 @@
+<% if @is_virtual -%>
+# Keep ntpd from panicking in the event of a large clock skew
+# when a VM guest is suspended and resumed.
+tinker panic 0
+
+<% end -%>
# Permit time synchronization with our time source, but do not
# permit the source to query or modify the service on this system.
restrict default kod nomodify notrap nopeer noquery