Commit 0f87ff3
committed
fix: migrate from ntp client package installed from ntp to ntpsec
Change the installed ntp client package from ntp to ntpsec when
user-data requests `ntp_client: ntp`.
Fix inability to install ntp deb packages from universe in Ubuntu for
some time which resulted in errors from `cloud-init status` and
failed integration tests.
Most distributions have migrated away from ntp to ntpsec as replacement
implementation which has better security and maintenance as a project.
Package migration has happened in many distributions already:
- Ubuntu was in Xenial 2016
- OpenSUSE available since 2019
- Fedora 34 2021
- Debian Bookworm 2023
- Alpine 3.10 20191 parent d2bf883 commit 0f87ff3
File tree
2 files changed
+23
-7
lines changed- cloudinit/config
- tests/unittests/config
2 files changed
+23
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| |||
347 | 347 | | |
348 | 348 | | |
349 | 349 | | |
350 | | - | |
351 | | - | |
352 | 350 | | |
353 | 351 | | |
354 | 352 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
577 | 577 | | |
578 | 578 | | |
579 | 579 | | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
580 | 584 | | |
581 | 585 | | |
582 | 586 | | |
583 | 587 | | |
584 | 588 | | |
585 | | - | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
586 | 597 | | |
587 | 598 | | |
588 | | - | |
589 | 599 | | |
590 | 600 | | |
591 | 601 | | |
| |||
597 | 607 | | |
598 | 608 | | |
599 | 609 | | |
600 | | - | |
601 | | - | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
602 | 620 | | |
603 | 621 | | |
604 | 622 | | |
| |||
0 commit comments