# Auto-generated by post-install script # See dhcpd.conf(5) for further configuration authoritative; ddns-update-style none; ddns-domainname "test.alt"; option space altlinux; option altlinux.keydata code 2 = string; vendor-option-space altlinux; option arch code 93 = unsigned integer 16; option space ipxe; option ipxe.no-pxedhcp code 176 = unsigned integer 8; subnet 192.168.15.0 netmask 255.255.255.0 { option nis-domain "test.alt"; option domain-name "test.alt"; option broadcast-address 192.168.15.255; option subnet-mask 255.255.255.0; default-lease-time 1800; max-lease-time 3600; option ipxe.no-pxedhcp 1; if exists user-class and option user-class = "iPXE" { next-server 192.168.15.1; filename "script.ipxe"; } elsif substring (option vendor-class-identifier, 0, 9) = "PXEClient" { next-server 192.168.15.1; if option arch = 00:06 { # EFI IA32 filename "ipxe-i386.efi"; } elsif option arch = 00:07 { # EFI Byte Code filename "ipxe-x86_64.efi"; } elsif option arch = 00:09 { # EFI x86-64 filename "ipxe-x86_64.efi"; } elsif option arch = 00:00 { # Legacy BIOS filename "undionly.kpxe"; } } pool { range 192.168.15.50 192.168.15.250; } }