Add local directive for chrony

The local keyword is used to allow chronyd to appear synchronised to
real time (from the viewpoint of clients polling it), even if it has no
current synchronisation source.

Change-Id: I27d945abb87a37d2fdf972a58c51e2f0994e3de8
Closes-Bug: #1688682
(cherry picked from commit 7b05bb7322)
This commit is contained in:
Jeffrey Zhang
2017-05-06 10:05:35 +08:00
parent d87e7822d3
commit a644e6c887

View File

@@ -24,6 +24,7 @@ dumpdir /var/lib/chrony
{% if inventory_hostname in groups['chrony-server'] %}
allow all
local stratum 10
{% else %}
port 0
deny all