Project

General

Profile

Feature #14920

Updated by Lukas Zapletal about 5 years ago

Default DHCPD configuration must be changed in order to allow booting unknown UEFI hosts to something like:

<pre>
option space PXE;
option arch code 93 = unsigned integer 16; # RFC4578

subnet 10.0.0.0 netmask 255.255.255.0 {
option routers 10.0.0.254;
range 10.0.0.2 10.0.0.253;

class "pxeclients" {
match if substring (option vendor-class-identifier, 0, 9) = "PXEClient";
next-server 10.0.0.1;
if exists user-class and option user-class = "iPXE" {
filename "https://foreman.example.com:443/unattended/iPXE";

} else if option arch = 00:06 {
filename "grub2/bootia32.efi";
} else if option arch = 00:07 {
filename "grub2/bootx64.efi";
} else {
filename "pxelinux.0";
}
}

host example-ia32 {
hardware ethernet XX:YY:ZZ:11:22:33;
fixed-address 10.0.0.2;
}
}
</pre>

Back