Skip to content

Conversation

@changlei-li
Copy link
Contributor

xsconsole can set ntp to Use DHCP NTP Servers or Use Default NTP Servers, Provide NTP Servers Manually. This is so-called dhcp default and manual mode.

When switching from other modes to DHCP, the DHCP-provided NTP servers should be added to the Chrony sources. Conversely, they should be removed when switching away from DHCP.

When upgrade dom0 chrony version to 4, the chrony-dhcp server file changes from /var/lib/dhclient/chrony.servers.$interface to /run/chrony-dhcp/$interface.sources, the same with XS9.

xsconsole can set ntp to Use DHCP NTP Servers or Use Default NTP
Servers, Provide NTP Servers Manually. This is so-called dhcp
default and manual mode.

When switching from other modes to DHCP, the DHCP-provided NTP
servers should be added to the Chrony sources. Conversely, they
should be removed when switching away from DHCP.

When upgrade dom0 chrony version to 4, the chrony-dhcp server file
changes from `/var/lib/dhclient/chrony.servers.$interface` to
`/run/chrony-dhcp/$interface.sources`, the same with XS9.

Signed-off-by: Changlei Li <[email protected]>
@changlei-li changlei-li requested a review from liulinC October 13, 2025 09:02
@changlei-li
Copy link
Contributor Author

changlei-li commented Oct 21, 2025

It's a cherry-pick of #74 on master.
upgrade chrony on xs8 dom0 is merged to feature branch.

@changlei-li changlei-li merged commit 09a512e into xapi-project:feature/config-ntp-timezone-xs8 Oct 21, 2025
1 check passed
@changlei-li changlei-li deleted the private/changleli/upgrade-chrony4 branch October 21, 2025 02:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants