40 lines
1.4 KiB
Plaintext
Executable File
40 lines
1.4 KiB
Plaintext
Executable File
# Don't function as a DNS server:
|
|
port=0
|
|
|
|
# Log lots of extra information about DHCP transactions.
|
|
log-dhcp
|
|
|
|
# Set the root directory for files available via FTP.
|
|
enable-tftp
|
|
tftp-root=/srv/tftp
|
|
|
|
# The boot filename, Server name, Server Ip Address
|
|
dhcp-boot=tag:!ipxe,undionly.kpxe,,192.168.1.50
|
|
|
|
# Disable re-use of the DHCP servername and filename fields as extra
|
|
# option space. That's to avoid confusing some old or broken DHCP clients.
|
|
dhcp-no-override
|
|
|
|
# inspect the vendor class string and match the text to set the tag
|
|
dhcp-vendorclass=BIOS,PXEClient:Arch:00000
|
|
dhcp-vendorclass=UEFI32,PXEClient:Arch:00006
|
|
dhcp-vendorclass=UEFI,PXEClient:Arch:00007
|
|
dhcp-vendorclass=UEFI64,PXEClient:Arch:00009
|
|
|
|
# Set the boot file name based on the matching tag from the vendor class (above)
|
|
dhcp-boot=net:UEFI32,snponly.efi,,192.168.1.50
|
|
dhcp-boot=net:UEFI,snponly.efi,,192.168.1.50
|
|
dhcp-boot=net:UEFI64,snponly.efi,,192.168.1.50
|
|
|
|
# PXE menu. The first part is the text displayed to the user. The second is the timeout, in seconds.
|
|
pxe-prompt="Booting iPXE", 5
|
|
|
|
# The known types are x86PC, PC98, IA64_EFI, Alpha, Arc_x86,
|
|
# Intel_Lean_Client, IA32_EFI, BC_EFI, Xscale_EFI and X86-64_EFI
|
|
# This option is first and will be the default if there is no input from the user.
|
|
pxe-service=X86PC, "Boot iPXE", undionly.kpxe
|
|
pxe-service=X86-64_EFI, "Boot to iPXE UEFI", snponly.efi
|
|
pxe-service=BC_EFI, "Boot to iPXE UEFI PXE-BC", snponly.efi
|
|
|
|
dhcp-range=192.168.1.50,proxy
|