[pve-devel] [RFC manager 2/2] ui: cloudinit: also allow ipconfig with VM.Config.Cloudinit
Fabian Grünbichler
f.gruenbichler at proxmox.com
Wed May 3 09:52:02 CEST 2023
Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
---
Notes:
only if the qemu-server patch gets applied, and then it can be folded into the
previous commit
www/manager6/qemu/CloudInit.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www/manager6/qemu/CloudInit.js b/www/manager6/qemu/CloudInit.js
index 3a1323d1..bb0a7a45 100644
--- a/www/manager6/qemu/CloudInit.js
+++ b/www/manager6/qemu/CloudInit.js
@@ -303,7 +303,7 @@ Ext.define('PVE.qemu.CloudInit', {
me.rows['net' + i.toString()] = {
multiKey: ['ipconfig' + i.toString(), 'net' + i.toString()],
header: gettext('IP Config') + ' (net' + i.toString() +')',
- editor: caps.vms['VM.Config.Network'] ? 'PVE.qemu.IPConfigEdit' : undefined,
+ editor: caps_ci ? 'PVE.qemu.IPConfigEdit' : undefined,
iconCls: 'fa fa-exchange',
renderer: ipconfig_renderer,
};
--
2.30.2
More information about the pve-devel
mailing list