Skip to content

Commit

Permalink
Merge pull request #3123 from nirs/dhcpd-identifier
Browse files Browse the repository at this point in the history
cidata: Use mac address as dhcpd identifier
  • Loading branch information
AkihiroSuda authored Jan 20, 2025
2 parents 1d3a9a0 + 99870e4 commit a713c61
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/cidata/cidata.TEMPLATE.d/network-config
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ ethernets:
set-name: {{$nw.Interface}}
dhcp4-overrides:
route-metric: {{$nw.Metric}}
dhcp-identifier: mac
{{- if and (eq $nw.Interface $.SlirpNICName) (gt (len $.DNSAddresses) 0) }}
nameservers:
addresses:
Expand Down

0 comments on commit a713c61

Please sign in to comment.