fix #2703: networkedit: limit custom interface name field to 15 characters.

Linux kernel don't allow interfaces name with more than 15 characters

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
This commit is contained in:
Alexandre Derumier 2022-10-14 09:55:50 +02:00 committed by Thomas Lamprecht
parent 34edc91701
commit 60ed17bf96

View File

@ -246,6 +246,7 @@ Ext.define('Proxmox.node.NetworkEdit', {
value: me.iface,
vtype: iface_vtype,
allowBlank: false,
maxLength: 15,
autoEl: {
tag: 'div',
'data-qtip': gettext('For example, vmbr0.100, vmbr0, vlan0.100, vlan0'),