Netplan is missing support for NTP configuration

Bug #1741240 reported by Viktor Petersson
286
This bug affects 7 people
Affects Status Importance Assigned to Milestone
Netplan
Triaged
Wishlist
Unassigned

Bug Description

Netplan is a great way to configure a device. It supports DNS already, but I'd argue the NTP is a closely related component that often needs to be configured in tangent. Would it be possible to add NTP support in Netplan?

Tags: bitesize
Changed in netplan:
status: New → Triaged
importance: Undecided → Wishlist
Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

I have nothing against it, but the configuration of NTP requires magic in new places (at least for the NetworkManager backend, since NM doesn't do NTP by itself). For the networkd backend this is relatively straightforward.

Seems like it might also be an easy feature to implement, so I'm adding the bitesize tag here to denote that. New contributors should feel free to write the implementation for this (should be as simple as adding a new field in parse.c/parse.h for all device types, and having the networkd backend add a NTP= key when the field is present).

tags: added: bitesize
Shv C (titantastic)
information type: Public → Public Security
To post a comment you must log in.
This report contains Public Security information  
Everyone can see this security related information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.