summaryrefslogtreecommitdiff
path: root/templates/ntp.conf.debian.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/ntp.conf.debian.erb')
-rw-r--r--templates/ntp.conf.debian.erb6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/ntp.conf.debian.erb b/templates/ntp.conf.debian.erb
index 77da814..0525d00 100644
--- a/templates/ntp.conf.debian.erb
+++ b/templates/ntp.conf.debian.erb
@@ -1,5 +1,11 @@
# /etc/ntp.conf, configuration for ntpd; see ntp.conf(5) for help
+<% 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 -%>
driftfile /var/lib/ntp/ntp.drift