summaryrefslogtreecommitdiff
path: root/templates/ntp.conf.archlinux.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/ntp.conf.archlinux.erb')
-rw-r--r--templates/ntp.conf.archlinux.erb8
1 files changed, 7 insertions, 1 deletions
diff --git a/templates/ntp.conf.archlinux.erb b/templates/ntp.conf.archlinux.erb
index 5e27334..ef3b725 100644
--- a/templates/ntp.conf.archlinux.erb
+++ b/templates/ntp.conf.archlinux.erb
@@ -4,9 +4,15 @@
# - the ntp.conf man page
# - http://support.ntp.org/bin/view/Support/GettingStarted
# - https://wiki.archlinux.org/index.php/Network_Time_Protocol_daemon
+#
+<% 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 -%>
# Associate to public NTP pool servers; see http://www.pool.ntp.org/
-<% [@servers_real].flatten.each do |server| -%>
+<% [@servers].flatten.each do |server| -%>
server <%= server %>
<% end -%>