Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
ISC DHCP PXE architecture switching example
option arch code 93 = unsigned integer 16;
if substring(option vendor-class-identifier, 0, 9) = "PXEClient" {
if option arch = 00:02 { # IA64 EFI boot
filename "/NoopApp.efi"; # not the right image, but we don't care
} else if option arch = 00:06 { # x86 EFI boot
filename "/NoopApp.efi"; # not the right image, but we don't care
} else if option arch = 00:07 { # BC (bytecode) EFI boot
filename "/live-efi/elilo.efi";
} else if option arch = 00:09 { # x64 EFI boot
filename "/live-efi/elilo.efi";
} else if option arch = 00:00 { # x86 BIOS PXE
filename "/pxelinux.0";
} else {
filename "/pxelinux.0";
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.