[pve-devel] [PATCH manager] fix #3428: cloud-init: add toggle for automatic upgrades
Leo Nunner
l.nunner at proxmox.com
Thu May 4 12:55:02 CEST 2023
to control the newly introduced "ciupgrade" config parameter.
Signed-off-by: Leo Nunner <l.nunner at proxmox.com>
---
www/manager6/qemu/CloudInit.js | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/www/manager6/qemu/CloudInit.js b/www/manager6/qemu/CloudInit.js
index 77ff93d4..c9065a84 100644
--- a/www/manager6/qemu/CloudInit.js
+++ b/www/manager6/qemu/CloudInit.js
@@ -286,6 +286,24 @@ Ext.define('PVE.qemu.CloudInit', {
},
defaultValue: '',
},
+ ciupgrade: {
+ header: gettext('Upgrade packages'),
+ iconCls: 'fa fa-archive',
+ renderer: Proxmox.Utils.format_boolean,
+ defaultValue: '',
+ editor: {
+ xtype: 'proxmoxWindowEdit',
+ subject: gettext('Upgrade packages on boot'),
+ items: {
+ xtype: 'proxmoxcheckbox',
+ name: 'ciupgrade',
+ uncheckedValue: 0,
+ defaultValue: 0,
+ fieldLabel: gettext('Upgrade packages'),
+ labelWidth: 140,
+ },
+ },
+ },
};
var i;
var ipconfig_renderer = function(value, md, record, ri, ci, store, pending) {
--
2.30.2
More information about the pve-devel
mailing list