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

7 lines
163 B
Text
Raw Permalink Normal View History

# 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!