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/
This commit is contained in:
Tim Freund 2021-10-16 23:16:08 -04:00
parent 5e89aaf8eb
commit ce09a2cf0e

View File

@ -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 {