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.erb2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/ntp.conf.el.erb b/templates/ntp.conf.el.erb
index 80b358b..b981511 100644
--- a/templates/ntp.conf.el.erb
+++ b/templates/ntp.conf.el.erb
@@ -35,11 +35,13 @@ server <%= server %>
#manycastserver 239.255.254.254 # manycast server
#manycastclient 239.255.254.254 key 42 # manycast client
+<% if @is_virtual == "false" -%>
# Undisciplined Local Clock. This is a fake driver intended for backup
# and when no outside source of synchronized time is available.
server 127.127.1.0 # local clock
fudge 127.127.1.0 stratum 10
+<% end -%>
# Drift file. Put this in a directory which the daemon can write to.
# No symbolic links allowed, either, since the daemon updates the file
# by creating a temporary in the same directory and then rename()'ing