all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Stephan Leemburg <stephan.leemburg@it-functions.nl>
To: pve-devel@lists.proxmox.com
Cc: Stephan Leemburg <stephan.leemburg@it-functions.nl>
Subject: [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
Date: Sun, 23 Aug 2020 13:38:28 +0200	[thread overview]
Message-ID: <20200823113828.95261-2-stephan.leemburg@it-functions.nl> (raw)
In-Reply-To: <20200823113828.95261-1-stephan.leemburg@it-functions.nl>

Signed-off-by: Stephan Leemburg <stephan.leemburg@it-functions.nl>
---
 www/manager6/lxc/Network.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/www/manager6/lxc/Network.js b/www/manager6/lxc/Network.js
index 2938c503..8af00fca 100644
--- a/www/manager6/lxc/Network.js
+++ b/www/manager6/lxc/Network.js
@@ -74,7 +74,7 @@ Ext.define('PVE.lxc.NetworkInputPanel', {
 	}
 
 	var i;
-	for (i = 0; i < 10; i++) {
+	for (i = 0; i < 32; i++) {
 	    if (me.isCreate && !me.dataCache['net'+i.toString()]) {
 		me.ifname = 'net' + i.toString();
 		break;
@@ -370,7 +370,7 @@ Ext.define('PVE.lxc.NetworkView', {
 		    records.push(net);
 		});
 		me.store.loadData(records);
-		me.down('button[name=addButton]').setDisabled((records.length >= 10));
+		me.down('button[name=addButton]').setDisabled((records.length >= 32));
 	    }
 	});
     },
-- 
2.25.1




  reply	other threads:[~2020-08-23 11:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-23 11:38 [pve-devel] [pve-manager: Bump maximum number of container net interfaces from 10 to 32 0/1] Stephan Leemburg
2020-08-23 11:38 ` Stephan Leemburg [this message]
2020-08-27 10:58   ` [pve-devel] applied: [Bump maximum number of container net interfaces from 10 to 32 1/1] Bump maximum number of container net interfaces from 10 to 32 Thomas Lamprecht
  -- strict thread matches above, loose matches on Subject: below --
2020-08-23 11:38 [pve-devel] [pve-container: Bump maximum number of container net interfaces from 10 to 32 0/1] Stephan Leemburg
2020-08-23 11:38 ` [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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200823113828.95261-2-stephan.leemburg@it-functions.nl \
    --to=stephan.leemburg@it-functions.nl \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal