Commit c9d8fdb5 authored by Dietmar Maurer's avatar Dietmar Maurer

lxc create wizard: add disk size option

parent 9befff6d
......@@ -144,7 +144,8 @@ Ext.define('PVE.lxc.CreateWizard', {
},
{
xtype: 'pveLxcResourceInputPanel',
title: gettext('Resources')
title: gettext('Resources'),
insideWizard: true
},
networkpanel,
{
......
......@@ -35,18 +35,18 @@ Ext.define('PVE.lxc.RessourceInputPanel', {
];
me.column2 = [
// {
// xtype: 'numberfield',
// name: 'disk',
// minValue: 0.001,
// maxValue: 128*1024,
// decimalPrecision: 3,
// value: '4',
// step: 1,
// fieldLabel: gettext('Disk size') + ' (GB)',
// labelWidth: labelWidth,
// allowBlank: false
// },
{
xtype: me.insideWizard ? 'numberfield' : 'displayfield',
name: 'disk',
minValue: 0,
maxValue: 128*1024,
decimalPrecision: 3,
value: '8',
step: 1,
fieldLabel: gettext('Disk size') + ' (GB)',
labelWidth: labelWidth,
allowBlank: false
},
{
xtype: 'numberfield',
name: 'cpus',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment