Skip to content

Instantly share code, notes, and snippets.

@geoff-nixon
Forked from robinsmidsrod/dhcpd.conf
Created March 23, 2017 23:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save geoff-nixon/0c5c759dcd4f1024f96c646dc31f0556 to your computer and use it in GitHub Desktop.
Save geoff-nixon/0c5c759dcd4f1024f96c646dc31f0556 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