[pve-devel] [PATCH pve-manager v3] Remove swap/memory limit in the Manager, fixes #1799
René Jochum
r.jochum at proxmox.com
Thu Jun 7 13:42:30 CEST 2018
---
www/manager6/lxc/ResourceEdit.js | 2 --
www/manager6/qemu/MemoryEdit.js | 2 --
2 files changed, 4 deletions(-)
diff --git a/www/manager6/lxc/ResourceEdit.js b/www/manager6/lxc/ResourceEdit.js
index ec697cac..395fab7e 100644
--- a/www/manager6/lxc/ResourceEdit.js
+++ b/www/manager6/lxc/ResourceEdit.js
@@ -118,7 +118,6 @@ Ext.define('PVE.lxc.MemoryInputPanel', {
xtype: 'proxmoxintegerfield',
name: 'memory',
minValue: 16,
- maxValue: 512*1024,
value: '512',
step: 32,
fieldLabel: gettext('Memory') + ' (MiB)',
@@ -129,7 +128,6 @@ Ext.define('PVE.lxc.MemoryInputPanel', {
xtype: 'proxmoxintegerfield',
name: 'swap',
minValue: 0,
- maxValue: 128*1024,
value: '512',
step: 32,
fieldLabel: gettext('Swap') + ' (MiB)',
diff --git a/www/manager6/qemu/MemoryEdit.js b/www/manager6/qemu/MemoryEdit.js
index 384351b0..4c4d1815 100644
--- a/www/manager6/qemu/MemoryEdit.js
+++ b/www/manager6/qemu/MemoryEdit.js
@@ -39,7 +39,6 @@ Ext.define('PVE.qemu.MemoryInputPanel', {
fieldLabel: gettext('Memory') + ' (MiB)',
name: 'memory',
minValue: 1,
- maxValue: 512*1024,
step: 32,
hotplug: me.hotplug,
listeners: {
@@ -61,7 +60,6 @@ Ext.define('PVE.qemu.MemoryInputPanel', {
xtype: 'pveMemoryField',
name: 'balloon',
minValue: 1,
- maxValue: 512*1024,
step: 32,
fieldLabel: gettext('Minimum memory') + ' (MiB)',
hotplug: me.hotplug,
--
2.11.0
More information about the pve-devel
mailing list