2015-10-09 21:01:42 |
Jamie Strandboge |
description |
Currently ntp servers are not configurable on snappy. By making /etc/systemd/timesyncd.conf a writable path, users can adjust it to point to other servers. See http://www.freedesktop.org/software/systemd/man/timesyncd.conf.html
This is useful for example when running a snappy image on an internal network with egress filtering.
Also, on a related note, the system is currently configured with empty NTP and FallbackNTP and timesyncd appears to try N.debian.pool.ntp.org servers when these aren't specified. I imagine these should be changed to the ubuntu pool.
Perhaps some day the timesyncd configuration can be exposed via 'snappy config ubuntu-core'. |
Currently ntp servers are not configurable on snappy. This is useful for example when running a snappy image on an internal network with egress filtering. Ntp is currently handled by systemd-timesyncd via /etc/systemd/timesyncd.conf. See http://www.freedesktop.org/software/systemd/man/timesyncd.conf.html
It would be great if snappy config could configure these. Eg:
$ snappy config ubuntu-core
...
config:
ubuntu-core:
ntp-servers: 10.0.0.1
This could adjust /etc/systemd/timesyncd.conf to have:
NTP=10.0.0.1
Also, on a related note, the system is currently configured with empty NTP and FallbackNTP and timesyncd appears to try N.debian.pool.ntp.org servers when these aren't specified. I imagine these should be changed to the ubuntu pool. |
|