cloudbase / cloudbase-init

Cross-platform instance initialization
http://openstack.org
Apache License 2.0
421 stars 149 forks source link

Implement cloud-config 'ntp' support #28

Closed ader1990 closed 4 years ago

ader1990 commented 4 years ago

Example userdata file:

ntp:
  enabled: True
  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']

The keys ntp_client and config will not be implemented on Windows, as there is only one client with one way to configure it.