1
0
IaC/ansible/roles/systemd_networkd/templates/ethernet.link.j2
2023-08-13 14:03:03 +10:00

8 lines
172 B
Django/Jinja

[Match]
PermanentMACAddress={{ item.mac_address }}
[Link]
Name={{ item.name | regex_replace('^[0-9]*-', '') | regex_replace('\.link', '') }}
MACAddressPolicy=persistent