Skip to content

Instantly share code, notes, and snippets.

@robinsmidsrod
Last active August 26, 2023 12:24
Show Gist options
  • Star 8 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save robinsmidsrod/0047a1768c8e1c1f3d31 to your computer and use it in GitHub Desktop.
Save robinsmidsrod/0047a1768c8e1c1f3d31 to your computer and use it in GitHub Desktop.
Booting an Apple Mac into iPXE using simulated Apple Boot Server on ISC DHCPD
next-server 10.0.3.2;
if ( substring(option vendor-class-identifier, 0, 9) = "AAPLBSDPC"
and substring(option vendor-class-identifier, 10, 4) = "i386" ) {
# This needs to be there to tell the client we're an Apple boot server
option vendor-class-identifier "AAPLBSDPC";
# Normally the client asks for a list, we respond, they tell us what we want,
# then we send a select back with the information of that image.
# This skips all that and forces the select down to the client.
option vendor-encapsulated-options 01:01:02;
# Use ipxe.efi for native drivers, or snponly.efi for underlying UNDI
# Using snponly.efi because Mac mini NIC is not yet supported by iPXE
#filename "ipxe-x86.efi";
filename "snponly-x86.efi";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment