From ce09a2cf0ee274f1025c2708709a4ea979ef1a14 Mon Sep 17 00:00:00 2001 From: Tim Freund Date: Sat, 16 Oct 2021 23:16:08 -0400 Subject: [PATCH] Update isc-dhcp-server configuration The arch option must be defined. Without the option definition, dhcpd will fail with the following message: "no option named arch in space dhcp" Solution found via: https://www.kraxel.org/blog/2021/09/vm-network-boot/ --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1fdd91d..00463fa 100644 --- a/README.md +++ b/README.md @@ -107,6 +107,8 @@ These are a few configuration examples for setting up a DHCP server. The main co #### isc-dhcp-server ``` +option arch code 93 = unsigned integer 16; + subnet 10.0.100.0 netmask 255.255.255.0 { range 10.0.100.100 10.0.100.200; next-server 10.0.100.10; @@ -117,7 +119,7 @@ subnet 10.0.100.0 netmask 255.255.255.0 { option domain-name-servers 1.1.1.1; if exists user-class and ( option user-class = "iPXE" ) { filename "http://boot.netboot.xyz/menu.ipxe"; - } elsif option client-architecture = encode-int ( 16, 16 ) { + } elsif option arch = encode-int ( 16, 16 ) { filename "http://boot.netboot.xyz/ipxe/netboot.xyz.efi"; option vendor-class-identifier "HTTPClient"; } elsif option arch = 00:07 {