From 44e7d5709d1ea1ae0040af1132af8e321019d25a Mon Sep 17 00:00:00 2001
From: "harikrishnan.r" <harikrishnan.r@media.net>
Date: Thu, 13 Aug 2020 17:20:50 +0530
Subject: [PATCH container] lxc: Close #2938: increase upper limit of LXC core
count to 512
Signed-off-by: harikrishnan.r <harikrishnan.r@media.net>
---
src/PVE/LXC/Config.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/PVE/LXC/Config.pm b/src/PVE/LXC/Config.pm
index 5bf12d56..41eba342 100644
--- a/src/PVE/LXC/Config.pm
+++ b/src/PVE/LXC/Config.pm
@@ -401,7 +401,7 @@ my $confdesc = {
type => 'integer',
description => "The number of cores assigned to the container. A container can use all available cores by default.",
minimum => 1,
- maximum => 128,
+ maximum => 512,
},
cpulimit => {
optional => 1,
--
2.27.0
From 3e684c1aa8f0d80403b3cf779e0e460b733fb951 Mon Sep 17 00:00:00 2001
From: "harikrishnan.r" <harikrishnan.r@media.net>
Date: Thu, 13 Aug 2020 17:10:11 +0530
Subject: [PATCH container] ui: lxc: Close #2938: increase upper limit of LXC
core count to 512
Signed-off-by: harikrishnan.r <harikrishnan.r@media.net>
---
www/manager6/lxc/ResourceEdit.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www/manager6/lxc/ResourceEdit.js b/www/manager6/lxc/ResourceEdit.js
index 476a9a284..0e110e607 100644
--- a/www/manager6/lxc/ResourceEdit.js
+++ b/www/manager6/lxc/ResourceEdit.js
@@ -88,7 +88,7 @@ Ext.define('PVE.lxc.CPUInputPanel', {
xtype: 'proxmoxintegerfield',
name: 'cores',
minValue: 1,
- maxValue: 128,
+ maxValue: 512,
value: me.insideWizard ? 1 : '',
fieldLabel: gettext('Cores'),
allowBlank: true,
--
2.27.0