1
0
IaC/ansible/roles/systemd_networkd/templates/ethernet.link.j2

9 lines
205 B
Django/Jinja

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