diff options
author | Ryan Harper <ryan.harper@canonical.com> | 2016-08-10 14:49:30 -0600 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2016-08-10 14:56:14 -0600 |
commit | b455902450e3f9ccb0cb876b460bdc7d5f6e24db (patch) | |
tree | 1f368d35ccf61b39427edfbbae25270ae3195a7a /doc | |
parent | c52b8eb9671be454d22283c81057f97b98bb49fe (diff) | |
download | vyos-cloud-init-b455902450e3f9ccb0cb876b460bdc7d5f6e24db.tar.gz vyos-cloud-init-b455902450e3f9ccb0cb876b460bdc7d5f6e24db.zip |
add ntp config module
Add support for installing and configuring ntp service, exposing the
minimum config of servers or pools to be added. If none are defined
then fallback on generating a list of pools by distro hosted at
pool.ntp.org (which matches what's found in the default ntp.conf
shipped in the respective distro).
Diffstat (limited to 'doc')
-rw-r--r-- | doc/examples/cloud-config-ntp.txt | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/doc/examples/cloud-config-ntp.txt b/doc/examples/cloud-config-ntp.txt new file mode 100644 index 00000000..2fc656e4 --- /dev/null +++ b/doc/examples/cloud-config-ntp.txt @@ -0,0 +1,27 @@ +#cloud-config + +# ntp: configure ntp services +# servers: List of NTP servers with which to sync +# pools: List of NTP pool servers with which to sync (pools are typically +# DNS hostnames which resolve to different specific servers to load +# balance a set of services) +# +# Each server in the list will be added in list-order in the following format: +# +# [pool|server] <server entry> iburst +# +# +# If no servers or pools are defined but ntp is enabled, then cloud-init will +# render the distro default list of pools +# +# pools = [ +# '0.{distro}.pool.ntp.org', +# '1.{distro}.pool.ntp.org', +# '2.{distro}.pool.ntp.org', +# '3.{distro}.pool.ntp.org', +# ] +# + +ntp: + pools: ['0.company.pool.ntp.org', '1.company.pool.ntp.org', 'ntp.myorg.org'] + servers: ['my.ntp.server.local', 'ntp.ubuntu.com', '192.168.23.2'] |