Skip to content

Commit a713c61

Browse files
authored
Merge pull request #3123 from nirs/dhcpd-identifier
cidata: Use mac address as dhcpd identifier
2 parents 1d3a9a0 + 99870e4 commit a713c61

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/cidata/cidata.TEMPLATE.d/network-config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ ethernets:
88
set-name: {{$nw.Interface}}
99
dhcp4-overrides:
1010
route-metric: {{$nw.Metric}}
11+
dhcp-identifier: mac
1112
{{- if and (eq $nw.Interface $.SlirpNICName) (gt (len $.DNSAddresses) 0) }}
1213
nameservers:
1314
addresses:

0 commit comments

Comments
 (0)