[pve-devel] [Bump maximum number of container net interfaces from 10 to 32 1/1] Bump maximum number of container net interfaces from 10 to 32
Stephan Leemburg
stephan.leemburg at it-functions.nl
Sun Aug 23 13:38:02 CEST 2020
Signed-off-by: Stephan Leemburg <stephan.leemburg at it-functions.nl>
---
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 5bf12d5..044e2e1 100644
--- a/src/PVE/LXC/Config.pm
+++ b/src/PVE/LXC/Config.pm
@@ -712,7 +712,7 @@ our $netconf_desc = {
};
PVE::JSONSchema::register_format('pve-lxc-network', $netconf_desc);
-my $MAX_LXC_NETWORKS = 10;
+my $MAX_LXC_NETWORKS = 32;
for (my $i = 0; $i < $MAX_LXC_NETWORKS; $i++) {
$confdesc->{"net$i"} = {
optional => 1,
--
2.25.1
More information about the pve-devel
mailing list