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

Thomas Lamprecht t.lamprecht at proxmox.com
Mon Aug 31 12:16:05 CEST 2015


Would be nice to be applied, as at the moment it's impossible to create 
containers from the manager with the newest packages.

Only reminding in case it was lost/forgotten with all the patches lately :)


On 08/27/2015 12:13 PM, Thomas Lamprecht wrote:
> 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,





More information about the pve-devel mailing list