[pve-devel] [PATCH qemu-server 1/2] close #3428: remove package_upgrade

Mira Limbeck m.limbeck at proxmox.com
Thu Jun 24 13:14:45 CEST 2021


Automatically updating packages on boot is not always a good idea, so
remove that setting.
The `package_upgrade` setting can still be set via snippets if required.

Signed-off-by: Mira Limbeck <m.limbeck at proxmox.com>
---
 PVE/QemuServer/Cloudinit.pm | 2 --
 1 file changed, 2 deletions(-)

diff --git a/PVE/QemuServer/Cloudinit.pm b/PVE/QemuServer/Cloudinit.pm
index a5474d3..1163915 100644
--- a/PVE/QemuServer/Cloudinit.pm
+++ b/PVE/QemuServer/Cloudinit.pm
@@ -144,8 +144,6 @@ sub cloudinit_userdata {
 	$content .= "  - default\n";
     }
 
-    $content .= "package_upgrade: true\n";
-
     return $content;
 }
 
-- 
2.30.2






More information about the pve-devel mailing list