feat(system_baseline): run the apt upgrade as dist-upgrade on the pve profile
New profile key apt_upgrade (safe or dist) resolved to system_baseline_apt_upgrade; the pve profile uses dist, the Ubuntu profiles keep the plain upgrade. The update entry point follows it when system_baseline_system_type is set. Assisted-by: Claude Code
This commit is contained in:
1 parent
97f5328043
commit
c4297b04d3
8 files changed
+110
-5
No files matched your search
@@ -0,0 +1,10 @@
|
||||
---
|
||||
minor_changes:
|
||||
- >-
|
||||
system_baseline - Add the profile key ``apt_upgrade`` (``safe`` or ``dist``) and the input ``system_baseline_apt_upgrade`` that it resolves
|
||||
to. The ``pve`` profile now upgrades packages with ``apt-get dist-upgrade``
|
||||
(``apt full-upgrade``, which Proxmox VE documents), so packages that a plain upgrade
|
||||
holds back (a new kernel, ``pve-manager``) are installed too; the Ubuntu profiles keep the plain upgrade. A ``pve`` host therefore receives
|
||||
those packages on the next run: set ``system_baseline_reboot_if_required`` to ``false`` first if the role must not reboot it. The ``update``
|
||||
entry point follows the input when ``system_baseline_system_type`` is set, and so can also remove packages on a ``pve`` host; it stays on
|
||||
the plain upgrade when the type is not set, and now refuses an unknown mode.
|
||||
Reference in new issue
Block a user