summaryrefslogtreecommitdiff
path: root/doc/examples/cloud-config-ntp.txt
blob: 2fc656e451f8254dc23173163148039f276e100a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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']