nixos-module/container/dhcp-server: add ignore-client-uids

This commit is contained in:
Astro 2022-09-14 20:23:55 +02:00
parent 0a83b33621
commit 1d2f491a79
1 changed files with 4 additions and 0 deletions

View File

@ -75,6 +75,10 @@ in
subnet ${subnet4Net} netmask ${lib.netmasks.${toString subnet4Len}} {
range ${dhcp.start} ${dhcp.end};
# always assign the same IP to the same MAC address.
# fixes changing IP for PXE clients.
ignore-client-uids true;
}
update-static-leases on;