platon: Set the MAC address that is registered in the router
This commit is contained in:
parent
dabf3f6b5f
commit
cf1fed21cb
3 changed files with 17 additions and 0 deletions
templates
6
templates/network-interfaces-dhcp-mac.j2
Normal file
6
templates/network-interfaces-dhcp-mac.j2
Normal file
|
@ -0,0 +1,6 @@
|
|||
# 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!
|
Loading…
Add table
Add a link
Reference in a new issue