[pve-devel] [PATCH pve-manager] set size in the rootfs parameter on CT create

Thomas Lamprecht t.lamprecht at proxmox.com
Thu Aug 27 12:13:33 CEST 2015


As the size parameter is now deprecated and was replaced with the
new rootfs parameter, use that one when creating an container.
So we don't get an 'parameter verification failed' error.

Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
---
 www/manager/lxc/CreateWizard.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/manager/lxc/CreateWizard.js b/www/manager/lxc/CreateWizard.js
index d037316..c0a30a3 100644
--- a/www/manager/lxc/CreateWizard.js
+++ b/www/manager/lxc/CreateWizard.js
@@ -148,7 +148,7 @@ Ext.define('PVE.lxc.CreateWizard', {
 			storagesel,
 			{
 			    xtype: 'numberfield',
-			    name: 'size',
+			    name: 'rootfs',
 			    minValue: 0.1,
 			    maxValue: 128*1024,
 			    decimalPrecision: 3,
-- 
2.1.4




More information about the pve-devel mailing list