1
0
IaC/ansible/roles/hypervisor_qcow/templates/ethernet.link.j2
2023-08-09 18:38:34 +10:00

7 lines
203 B
Django/Jinja

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