nixos-module/container/dhcp-server: fix

This commit is contained in:
Astro 2021-06-18 21:39:35 +02:00
parent 13334f087c
commit 7253ae6b17
1 changed files with 4 additions and 3 deletions

View File

@ -53,10 +53,11 @@ in
ddns-domainname "${domainName}";
next-server ${config.site.net.serv.hosts4.netboot};
if option arch = 00:07 {
filename "netboot.xyz.efi";
} else {
option arch code 93 = unsigned integer 16;
if option arch = 00:00 {
filename "netboot.xyz.kpxe";
} else {
filename "netboot.xyz.efi";
}
subnet ${subnet4Net} netmask ${lib.netmasks.${toString subnet4Len}} {