Created
June 1, 2017 16:04
-
-
Save Supermathie/1fe384a61280abbdf3ced26fac695675 to your computer and use it in GitHub Desktop.
ISC DHCP PXE architecture switching example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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