-
Notifications
You must be signed in to change notification settings - Fork 31
Description
pybootd presently assumes that any PXE request comes from a system with BIOS firmware.
We would like to be able to have pybootd distinguish BIOS PXE boot requests from UEFI PXE boot requests.
Red Hat posted how to determine if a PXE boot comes from a UEFI system. The code snippet below shows the character string to look for in the PXE boot request:
Red Hat published how to make changes to a generic DHCP server responding to PXE requests to distinguish between BIOS and UEFI-based devices.
class "pxeclients" {
match if substring (option vendor-class-identifier, 0, 9) = "PXEClient";
next-server 192.168.1.10;
if option architecture-type = 00:07 {
filename "shim.efi";
} else {
filename "pxelinux/pxelinux.0";
https://www.redhat.com/sysadmin/pxe-boot-uefi
If someone could implement this in pybootd, it would be most appreciated. Thanks!