Page MenuHomeVyOS Platform

Add a command to force NTP sync
Closed, ResolvedPublic

Description

Time desync can happen, for more than one reason. We should have a way to force NTP synchronization by hand if that happens.

Details

Version
-
Is it a breaking change?
Perfectly compatible

Event Timeline

Something like this console command but more handy in op-mode?

sudo ntpdate -u -b ntp.se

For example adding "ntp" as syntax to "set date"?

set date ntp

The above would then use the ntp-servers configured by "set service ntp", note however that the above must also be vrf-aware (that is reuse whatever vrf-config exists for "set service ntp").