forked from zentralwerk/network
nixos-module/container/dhcp-server: add ignore-client-uids
This commit is contained in:
parent
0a83b33621
commit
1d2f491a79
|
@ -75,6 +75,10 @@ in
|
||||||
|
|
||||||
subnet ${subnet4Net} netmask ${lib.netmasks.${toString subnet4Len}} {
|
subnet ${subnet4Net} netmask ${lib.netmasks.${toString subnet4Len}} {
|
||||||
range ${dhcp.start} ${dhcp.end};
|
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;
|
update-static-leases on;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user