|
| 1 | +# CLOUD_IMG: This file was created/modified by the Cloud Image build process |
| 2 | +# Welcome to the chrony configuration file. See chrony.conf(5) for more |
| 3 | +# information about usable directives. |
| 4 | +# Include configuration files found in /etc/chrony.conf.d. |
| 5 | +confdir /etc/chrony.conf.d |
| 6 | +# This will use (up to): |
| 7 | +# - 4 sources from ntp.ubuntu.com which some are ipv6 enabled |
| 8 | +# - 2 sources from 2.ubuntu.pool.ntp.org which is ipv6 enabled as well |
| 9 | +# - 1 source from [01].ubuntu.pool.ntp.org each (ipv4 only atm) |
| 10 | +# This means by default, up to 6 dual-stack and up to 2 additional IPv4-only |
| 11 | +# sources will be used. |
| 12 | +# At the same time it retains some protection against one of the entries being |
| 13 | +# down (compare to just using one of the lines). See (LP: #1754358) for the |
| 14 | +# discussion. |
| 15 | +# |
| 16 | +# About using servers from the NTP Pool Project in general see (LP: #104525). |
| 17 | +# Approved by Ubuntu Technical Board on 2011-02-08. |
| 18 | +# See http://www.pool.ntp.org/join.html for more information. |
| 19 | +#pool ntp.ubuntu.com iburst maxsources 4 |
| 20 | +#pool 0.ubuntu.pool.ntp.org iburst maxsources 1 |
| 21 | +#pool 1.ubuntu.pool.ntp.org iburst maxsources 1 |
| 22 | +#pool 2.ubuntu.pool.ntp.org iburst maxsources 2 |
| 23 | +# Use time sources from DHCP. |
| 24 | +sourcedir /run/chrony-dhcp |
| 25 | +# This directive specify the location of the file containing ID/key pairs for |
| 26 | +# NTP authentication. |
| 27 | +keyfile /etc/chrony.keys |
| 28 | +# This directive specify the file into which chronyd will store the rate |
| 29 | +# information. |
| 30 | +driftfile /var/lib/chrony/drift |
| 31 | +# Save NTS keys and cookies. |
| 32 | +ntsdumpdir /var/lib/chrony |
| 33 | +# Uncomment the following line to turn logging on. |
| 34 | +#log tracking measurements statistics |
| 35 | +# Log files location. |
| 36 | +logdir /var/log/chrony |
| 37 | +# Stop bad estimates upsetting machine clock. |
| 38 | +maxupdateskew 100.0 |
| 39 | +# This directive enables kernel synchronisation (every 11 minutes) of the |
| 40 | +# real-time clock. Note that it can’t be used along with the 'rtcfile' directive. |
| 41 | +rtcsync |
| 42 | +# Step the system clock instead of slewing it if the adjustment is larger than |
| 43 | +# one second, with no limit to how many clock updates have occurred. |
| 44 | +makestep 1.0 -1 |
| 45 | +# Get TAI-UTC offset and leap seconds from the system tz database. |
| 46 | +# This directive must be commented out when using time sources serving |
| 47 | +# leap-smeared time. |
| 48 | +leapsectz right/UTC |
| 49 | +# Azure hosts are synchronized to internal Microsoft time servers that |
| 50 | +# take their time from Microsoft-owned Stratum 1 devices. The Hyper-V |
| 51 | +# drivers surface this time source as a PTP-based time source in the |
| 52 | +# guest. This configures chrony to use it. This also causes chronyd |
| 53 | +# to require the /dev/ptp_hyperv device; chronyd will fail to start if |
| 54 | +# it is not present. If this line is removed (so chronyd no longer |
| 55 | +# uses the /dev/ptp_hyperv device), also remove (or comment out) the |
| 56 | +# /etc/systemd/system/chronyd.service.d/wait-for-ptp-hyperv.conf file. |
| 57 | +refclock PHC /dev/ptp_hyperv poll 3 dpoll -2 offset 0 |
0 commit comments