[PVE-User] PVE 6 to 7 BCM57412 devices name change
Stephan Leemburg
sleemburg at it-functions.nl
Mon Aug 1 19:45:19 CEST 2022
Hi Eneko,
We used to use net.ifnames=0 but where getting very unpredictable results.
So we switched to using /etc/systemd/network/*.link files with logical
naming.
You can use
udevadm test-builtin net_id /sys/class/net/$INTERFACENAME
where INTERFACENAME is the interface you want to have the attributes of.
Then you can - for example - use:
cat /etc/systemd/network/10-management.link
[Match]
Property=ID_NET_NAME_PATH=enp130s0f3
[Link]
AlternativeNamesPolicy=onboard path
Name=management
For logically naming the devices. Do remember to run
update-initramfs -u -k $(uname -r)
or
update-initramfs -u -k all
Hope that helps.
Best regards,
Stephan
On 01-08-2022 14:27, Eneko Lacunza via pve-user wrote:
> _______________________________________________
> pve-user mailing list
> pve-user at lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user
More information about the pve-user
mailing list