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

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Improvement (missing useful functionality)

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").