alpine: rename network interfaces
Mostly relevant for VMs, to match the names with proxmox.
This commit is contained in:
parent
d5db7529dd
commit
312cd8d4b3
2 changed files with 19 additions and 0 deletions
3
roles/alpine/templates/mactab.j2
Normal file
3
roles/alpine/templates/mactab.j2
Normal file
|
@ -0,0 +1,3 @@
|
|||
{% for iface in interfaces | selectattr('mac_address') %}
|
||||
{{ iface.name }} {{ iface.mac_address | lower }}
|
||||
{% endfor %}
|
Loading…
Add table
Add a link
Reference in a new issue