Allow the range for the old CGroup V1 one, as while deprecated,
that's still supported and a includes the range for v2 anyway.
With a next major release we may drop v1 support completely, probably
in PVE 8.0, then we can reduce this to the range of [1, 1000] that v2
supports.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
xtype: 'proxmoxintegerfield',
name: 'cpuunits',
fieldLabel: gettext('CPU units'),
- minValue: 8,
- maxValue: 500000,
+ // FIXME: change to [1, 1000] once cgroup v1 support gets removed (PVE 8 ?)
+ minValue: 2,
+ maxValue: 262144,
value: '1024',
deleteEmpty: true,
allowBlank: true,