Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cloud Init: use MAC-address as DHCP identifier #38

Merged
merged 1 commit into from
Sep 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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