[pve-devel] [PATCH manager] lxc: add 'unmanaged' checkbox in wizard

Oguz Bektas o.bektas at proxmox.com
Thu Nov 4 14:19:54 CET 2021


to allow creating containers with 'unmanaged' ostype easily in GUI.
that way we can use other unsupported templates in the GUI as well.

Signed-off-by: Oguz Bektas <o.bektas at proxmox.com>
---
 www/manager6/lxc/CreateWizard.js | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/www/manager6/lxc/CreateWizard.js b/www/manager6/lxc/CreateWizard.js
index aead515f..1befe928 100644
--- a/www/manager6/lxc/CreateWizard.js
+++ b/www/manager6/lxc/CreateWizard.js
@@ -72,6 +72,13 @@ Ext.define('PVE.lxc.CreateWizard', {
 		    },
 		    fieldLabel: gettext('Nesting'),
 		},
+		{
+		    xtype: 'proxmoxcheckbox',
+		    name: 'ostype',
+		    inputValue: 'unmanaged',
+		    value: false,
+		    fieldLabel: gettext('Unmanaged container'),
+		},
 	    ],
 	    column2: [
 		{
-- 
2.30.2






More information about the pve-devel mailing list