Add support for ntpsec (#11665)

* Add support for ntpsec

* fixup: set default ntp_driftfile based on ntp_package

* fixup: docs
This commit is contained in:
David
2024-11-25 17:42:56 +01:00
committed by GitHub
parent faeb114c31
commit 9d6344aac7
3 changed files with 19 additions and 6 deletions

View File

@@ -48,3 +48,9 @@ Force sync time immediately by NTP after the ntp installed, which is useful in n
```ShellSession
ntp_force_sync_immediately: true
```
When using Ubuntu 24.04 or a distribution that already has `systemd-timesyncd` installed, use the `ntpsec` package.
```ShellSession
ntp_package: ntpsec
```