Using find_next_iface_id we get a valid VLAN name. This way, inserting a vlan raw device is still required (but everything that is inserted so far is valid).
Signed-off-by: Dominic Jäger <d.jae...@proxmox.com> --- Wasn't sure if we want this. Feel free to squash with previous 3/5. src/node/NetworkView.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/node/NetworkView.js b/src/node/NetworkView.js index 4805636..a1570ce 100644 --- a/src/node/NetworkView.js +++ b/src/node/NetworkView.js @@ -235,6 +235,7 @@ Ext.define('Proxmox.node.NetworkView', { let win = Ext.create('Proxmox.node.NetworkEdit', { nodename: me.nodename, iftype: 'vlan', + iface_default: find_next_iface_id('vlan'), onlineHelp: 'sysadmin_network_configuration', }); win.on('destroy', reload); -- 2.20.1 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel