Commit 767b0f1
committed
CP-309762 Update ntp-dhcp server file path
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 <changlei.li@cloud.com>1 parent 3af1114 commit 767b0f1
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
602 | 602 | | |
603 | 603 | | |
604 | 604 | | |
605 | | - | |
606 | | - | |
| 605 | + | |
| 606 | + | |
607 | 607 | | |
608 | 608 | | |
609 | 609 | | |
| |||
655 | 655 | | |
656 | 656 | | |
657 | 657 | | |
658 | | - | |
| 658 | + | |
659 | 659 | | |
660 | 660 | | |
661 | 661 | | |
| |||
0 commit comments