Skip to content

Commit

Permalink
Cloud Init: use MAC-address as DHCP identifier (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
edigaryev authored Sep 30, 2024
1 parent 217ced7 commit 4781c2c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cloud-init/network-config
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,9 @@ network:
match:
name: en*
dhcp4: true

# Work around macOS DHCP server treating "hw_address" and "identifier" fields
# in /var/db/dhcpd_leases the same way and putting client identifier (which is
# a DUID/IAID) into the "hw_address" field, making it impossible to locate the
# corresponding entry given a MAC-address in "tart ip".
dhcp-identifier: mac

0 comments on commit 4781c2c

Please sign in to comment.