allow booting; allow bootp; ddns-update-style interim; authoritative; option space ipxe; # Tell iPXE to not wait for ProxyDHCP requests to speed up boot. option ipxe.no-pxedhcp code 176 = unsigned integer 8; option ipxe.no-pxedhcp 1; option architecture-type code 93 = unsigned integer 16; if exists user-class and option user-class = "iPXE" { #filename "http://192.168.1.1/WW4/ipxe/${mac:hexhyp}"; #filename "http://192.168.1.1:9873/ipxe?hwaddr=${mac:hexhyp}"; filename "http://192.168.1.1:9873/ipxe/${mac:hexhyp}"; } else { if option architecture-type = 00:0B { filename "/warewulf/ipxe/bin-arm64-efi/snp.efi"; } elsif option architecture-type = 00:0A { filename "/warewulf/ipxe/bin-arm32-efi/placeholder.efi"; } elsif option architecture-type = 00:09 { filename "/warewulf/ipxe/bin-x86_64-efi/snp.efi"; } elsif option architecture-type = 00:07 { filename "/warewulf/ipxe/bin-x86_64-efi/snp.efi"; } elsif option architecture-type = 00:06 { filename "/warewulf/ipxe/bin-i386-efi/snp.efi"; } elsif option architecture-type = 00:00 { filename "/warewulf/ipxe/bin-i386-pcbios/undionly.kpxe"; } } subnet 192.168.1.0 netmask 255.255.255.0 { range 192.168.1.10 192.168.1.99; next-server 192.168.1.1; } #subnet 192.168.1.0 netmask 255.255.255.0 { # not authoritative; # option subnet-mask 255.255.255.0; #} #group { # host n0000_localdomain-eth0 { # option host-name n0000; # option domain-name "localdomain"; # hardware ethernet 00:0c:29:c3:bf:42; # fixed-address 192.168.1.100; # next-server 192.168.1.1; # } #}