Can defined MAC address

This commit is contained in:
nemunaire 2023-03-25 16:46:28 +01:00
parent 71b1658ce1
commit feb3db167d
1 changed files with 3 additions and 0 deletions

View File

@ -17,6 +17,9 @@ iface br0
{% else %}
iface eth0
{% endif %}
{% if hw_address is defined %}
hwaddress ether {{ hw_address }}
{% endif %}
{% if wanted_ip4 is defined %}
address {{ wanted_ip4 }}/24
gateway {{ local_network.gateway }}