I'm testing PVE 9.0 Beta and would like to know if there's a quick way to select the new link name that the interface is mapped to or rename/update an existing link name? Currently, when I run a command like:
The interface will automatically be named
Here's the example of renaming all interfaces, but what if I want to update the "link" name in the future etc?
Bash:
proxmox-network-interface-pinning generate --interface ens18
The interface will automatically be named
nic0
, etc, if it's the first interface.Here's the example of renaming all interfaces, but what if I want to update the "link" name in the future etc?
Bash:
root@vl3-pve1:~# proxmox-network-interface-pinning generate
This will generate name pinning configuration for all interfaces - continue (y/N)?
y
Name for link 'enp0s18' will change to 'nic0'
Name for link 'enp0s19' will change to 'nic1'
Name for link 'enp0s20' will change to 'nic2'
Name for link 'enp0s21' will change to 'nic3'
Name for link 'enp0s22' will change to 'nic4'
Name for link 'ens18' will change to 'nic0'
Name for link 'ens19' will change to 'nic1'
Name for link 'ens20' will change to 'nic2'
Name for link 'ens21' will change to 'nic3'
Name for link 'ens22' will change to 'nic4'
Name for link 'enxbc2411c1a1a1' will change to 'nic0'
Name for link 'enxbc2411c1a1a2' will change to 'nic1'
Name for link 'enxbc2411c1a1a3' will change to 'nic2'
Name for link 'enxbc2411c1a1a4' will change to 'nic3'
Name for link 'enxbc2411c1a1a5' will change to 'nic4'
Generating link files
Successfully generated .link files in '/usr/local/lib/systemd/network/'
Updating /etc/pve/nodes/vl3-pve1/host.fw.new
Updating /etc/network/interfaces.new
Updating /etc/pve/sdn/controllers.cfg
Updating /etc/pve/sdn/fabrics.cfg
Successfully updated Proxmox VE configuration files.
Please reboot to apply the changes to your configuration