[pve-devel] [PATCH manager] fix #2132: gui: set vcpu default maxValue to 1
Dominik Csapak
d.csapak at proxmox.com
Fri Mar 15 10:59:10 CET 2019
else one can set it to higher values if the vm has one socket with one core
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
www/manager6/qemu/ProcessorEdit.js | 1 +
1 file changed, 1 insertion(+)
diff --git a/www/manager6/qemu/ProcessorEdit.js b/www/manager6/qemu/ProcessorEdit.js
index 3ecea205..4c0524eb 100644
--- a/www/manager6/qemu/ProcessorEdit.js
+++ b/www/manager6/qemu/ProcessorEdit.js
@@ -124,6 +124,7 @@ Ext.define('PVE.qemu.ProcessorInputPanel', {
xtype: 'proxmoxintegerfield',
name: 'vcpus',
minValue: 1,
+ maxValue: 1,
value: '',
fieldLabel: gettext('VCPUs'),
deleteEmpty: true,
--
2.11.0
More information about the pve-devel
mailing list