Last active
April 5, 2024 20:26
-
-
Save robinsmidsrod/08105908079357b2dab5 to your computer and use it in GitHub Desktop.
Simple chainloading config loading iPXE for ISC dhcpd which supports both legacy BIOS and UEFI
This file contains 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 client-arch code 93 = unsigned integer 16; | |
subnet 10.8.8.0 netmask 255.255.255.0 { | |
range 10.8.8.100 10.8.8.199; | |
option routers 10.8.8.1; | |
option domain-name-servers 10.8.8.1; | |
next-server 10.8.8.1; | |
if exists user-class and option user-class = "iPXE" { | |
filename "http://10.8.8.11/ipxeroot/bootstrap.ipxe"; | |
} elsif option client-arch != 0 { | |
filename "ipxe.efi"; | |
} else { | |
filename "undionly.kpxe"; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment