proxmox: fix network interface renaming
Use systemd .link files which are "relatively futureproof" according to https://wiki.debian.org/NetworkInterfaceNames .
This commit is contained in:
parent
59c1431f93
commit
ea1f8f88d0
2 changed files with 11 additions and 3 deletions
5
templates/interface.link.j2
Normal file
5
templates/interface.link.j2
Normal file
|
@ -0,0 +1,5 @@
|
|||
[Match]
|
||||
MACAddress={{ item.mac_address | lower }}
|
||||
|
||||
[Link]
|
||||
Name={{ item.name }}
|
Loading…
Add table
Add a link
Reference in a new issue