network: Use MAC address as DHCP client ID
_systemd-networkd_ uses a randomly-generated ID as the DHCP client identifier by default. On Aimee OS, it is not able to persist this ID between boots; I think it may derive the value from the machine ID. To avoid getting a new IP address every boot, we can configure it to use the MAC address of the device as the DHCP client ID.kiosk
parent
fa8c0aec6e
commit
e24a49a627
|
@ -5,6 +5,7 @@ Type=ether wlan
|
||||||
DHCP=yes
|
DHCP=yes
|
||||||
|
|
||||||
[DHCPv4]
|
[DHCPv4]
|
||||||
|
ClientIdentifier=mac
|
||||||
UseDomains=yes
|
UseDomains=yes
|
||||||
|
|
||||||
[DHCPv6]
|
[DHCPv6]
|
||||||
|
|
Loading…
Reference in New Issue