In dhcpd this is option 93.
As far as I understand, I am adding a new option with the code parameter 93 to the DHCP. And how can I check when contacting TFTP, if the architecture is 00:06, then I download the syslinux.efi loader, otherwise pxelinux.0?
In Linux, in the dhcp config, I prescribed something like this:
Code: Select all
option architecture-type code 93 = unsigned integer 16;
class "pxelinux" {
if option architecture-type = 00:06 {
filename "loader_uefi/syslinux.efi";
} else if option architecture-type = 00:07 {
filename "loader_uefi/syslinux.efi";
} else if option architecture-type = 00:09 {
filename "loader_uefi/syslinux.efi";
} else {
filename "loader_legacy/pxelinux.0";
}
}