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:
Stephan Leemburg 2020-08-23 13:38:28 +02:00 committed by Thomas Lamprecht
parent 6f5c3b98ac
commit e08f07de20

View File

@ -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));
}
});
},