summaryrefslogtreecommitdiff
path: root/templates/ntp.conf.gentoo.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/ntp.conf.gentoo.erb')
-rw-r--r--templates/ntp.conf.gentoo.erb5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/ntp.conf.gentoo.erb b/templates/ntp.conf.gentoo.erb
index 7b00b46..c22026a 100644
--- a/templates/ntp.conf.gentoo.erb
+++ b/templates/ntp.conf.gentoo.erb
@@ -6,6 +6,11 @@
# Name of the servers ntpd should sync with
# Please respect the access policy as stated by the responsible person.
#server ntp.example.tld iburst
+<% if @panic == false -%>
+# Keep ntpd from panicking in the event of a large clock skew
+# # when a VM guest is suspended and resumed.
+tinker panic 0
+<% end -%>
# Managed by puppet class { "ntp": servers => [ ... ] }
<% [@servers].flatten.each do |server| -%>