File: data.yaml

package info (click to toggle)
cloud-init 25.1.4-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 12,052 kB
  • sloc: python: 134,399; sh: 3,879; makefile: 128; javascript: 30; xml: 22
file content (26 lines) | stat: -rw-r--r-- 903 bytes parent folder | download | duplicates (4)
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
cc_ntp:
  description: |
    Handle Network Time Protocol (NTP) configuration. If ``ntp`` is not
    installed on the system and NTP configuration is specified, ``ntp`` will
    be installed.

    If there is a default NTP config file in the image or one is present in the
    distro's ``ntp`` package, it will be copied to a file with ``.dist``
    appended to the filename before any changes are made.

    A list of NTP pools and NTP servers can be provided under the ``ntp``
    config key.

    If no NTP ``servers`` or ``pools`` are provided, 4 pools will be used
    in the format:

    ``{0-3}.{distro}.pool.ntp.org``
  examples:
  - comment: |
      Example 1: Override NTP with chrony configuration on Ubuntu.
    file: cc_ntp/example1.yaml
  - comment: |
      Example 2: Provide a custom NTP client configuration.
    file: cc_ntp/example2.yaml
  name: NTP
  title: Enable and configure NTP