Skip to content

Commit

Permalink
Merge pull request #235 from guessi/fix_virtual_detection
Browse files Browse the repository at this point in the history
fix `is_virtual` detection issue
  • Loading branch information
hunner committed Feb 25, 2015
2 parents f878fa0 + d7a8029 commit 4acfa3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/ntp.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ broadcastclient
server <%= server %><% if @iburst_enable == true -%> iburst<% end %><% if @preferred_servers.include?(server) -%> prefer<% end %>
<% end -%>
<% if scope.lookupvar('::is_virtual') == "false" or @udlc -%>
<% if @is_virtual == "true" or @udlc -%>
# 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
Expand Down

0 comments on commit 4acfa3b

Please sign in to comment.