mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-07-27 11:33:50 +00:00
Bump maximum number of container net interfaces from 10 to 32
Signed-off-by: Stephan Leemburg <stephan.leemburg@it-functions.nl>
This commit is contained in:
parent
6f5c3b98ac
commit
e08f07de20
@ -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));
|
||||
}
|
||||
});
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user