netz39-infra-ansible/templates/network-interfaces-dhcp-mac.j2

6 lines
163 B
Django/Jinja

# Set a specific MAC address to enable DHCP recognition
allow-hotplug eth0
iface eth0 inet dhcp
hwaddress ether {{ mac }}
# THIS FILE IS MANAGED VIA ANSIBLE!