Signed-off-by: Alexandre Derumier <aderum...@odiso.com>
---
 www/manager6/Utils.js                       | 2 ++
 www/manager6/form/HotplugFeatureSelector.js | 4 ++++
 2 files changed, 6 insertions(+)

diff --git a/www/manager6/Utils.js b/www/manager6/Utils.js
index d9567979..23babb8b 100644
--- a/www/manager6/Utils.js
+++ b/www/manager6/Utils.js
@@ -444,6 +444,8 @@ Ext.define('PVE.Utils', {
                fa.push(gettext('Memory'));
            } else if (el === 'cpu') {
                fa.push(gettext('CPU'));
+           } else if (el === 'cloudinit') {
+               fa.push(gettext('Cloudinit'));
            } else {
                fa.push(el);
            }
diff --git a/www/manager6/form/HotplugFeatureSelector.js 
b/www/manager6/form/HotplugFeatureSelector.js
index cb9fc552..ffb19918 100644
--- a/www/manager6/form/HotplugFeatureSelector.js
+++ b/www/manager6/form/HotplugFeatureSelector.js
@@ -33,6 +33,10 @@ Ext.define('PVE.form.HotplugFeatureSelector', {
            boxLabel: gettext('CPU'),
            inputValue: 'cpu',
        },
+       {
+           boxLabel: 'Cloudinit',
+           inputValue: 'cloudinit',
+       },
     ],
 
     setValue: function(value) {
-- 
2.20.1


_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to