From 7d6b1357427f80ef193d3bb3394b3db50ae02cca Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sat, 12 Apr 2008 20:59:38 +0000 Subject: New sample file. --- dhcp3/dhcpd.bsdp | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 dhcp3/dhcpd.bsdp (limited to 'dhcp3') diff --git a/dhcp3/dhcpd.bsdp b/dhcp3/dhcpd.bsdp new file mode 100644 index 0000000..c016924 --- /dev/null +++ b/dhcp3/dhcpd.bsdp @@ -0,0 +1,54 @@ +# Sample BSDP config to support Macintosh netboot +# Origin: https://www.math.ohio-state.edu/wiki/administration/macosx/netboot/bsdp_with_isc_dhcp +class "AppleNBI-i386" { + match if substring (option vendor-class-identifier, 0, 14) = "AAPLBSDPC/i386"; + option dhcp-parameter-request-list 1,3,17,43,60; + if (option dhcp-message-type = 1) { option vendor-class-identifier "AAPLBSDPC/i386"; } + if (option dhcp-message-type = 1) { option vendor-encapsulated-options 08:04:81:00:00:67; } + # The Apple Boot Loader binary image. This file will in turn TFTP the kernel image and extension cache. + filename "macnbi-i386/booter"; + + ## JJM Root FS DMG on HTTP Server: + # option root-path "http://192.168.7.1/Netboot/NetBootSP0/MacOSX10.4.5.i386.JJM.nbi/NetInstall-Restore.dmg"; + + ## JJm Root FS DMG on NFS Server. + # (Note the placement of the second ":" This indicates where /var/netboot is mounted on each client. + # The Resources folder should be in the folder indicated by the :, /nbi in this instance. + + ## NOTE: THIS ROOT PATH IS TOO LONG AND WILL NOT WORK. + # option root-path "nfs:192.168.7.1:/disk/0/Netboot/NetBootSP0:MacOSX10.4.5.i386.JJM.nbi/NetInstall-Restore.dmg"; + + ## NOTE: Try to keep the root path as short as possible. I copy the DMG files to /nbi and export that folder. + option root-path "nfs:192.168.7.1:/nbi:NBI-i386.dmg"; +} + + +class "AppleNBI-ppc" { + match if substring (option vendor-class-identifier, 0, 13) = "AAPLBSDPC/ppc"; + option dhcp-parameter-request-list 1,3,6,12,15,17,43,53,54,60; + # The Apple Boot Loader binary image. This file will in turn TFTP the kernel image and extension cache. + filename "macnbi-ppc/booter"; + option vendor-class-identifier "AAPLBSDPC"; + + if (option dhcp-message-type = 1) { + option vendor-encapsulated-options 08:04:81:00:00:09; + } + elsif (option dhcp-message-type = 8) { + option vendor-encapsulated-options 01:01:02:08:04:81:00:00:09; + } + else { + option vendor-encapsulated-options 00:01:02:03:04:05:06:07; + } + + ## JJM Root FS DMG on HTTP Server: + # option root-path "http://192.168.7.1/Netboot/NetBootSP0/MacOSX10.4.5.powerpc.JJM.nbi/NetInstall-Restore.dmg"; + ## JJm Root FS DMG on NFS Server. + # (Note the placement of the second ":" This indicates where /var/netboot is mounted on each client. + # The Resources folder should be in the folder indicated by the :, /nbi in this instance. + + ## NOTE: THIS ROOT PATH IS TOO LONG AND WILL NOT WORK. + # option root-path "nfs:192.168.7.1:/disk/0/Netboot/NetBootSP0:MacOSX10.4.5.powerpc.JJM.nbi/NetInstall-Restore.dmg"; + + ## NOTE: Try to keep the root path as short as possible. I copy the DMG files to /nbi and export that folder. + option root-path "nfs:192.168.7.1:/nbi:NBI-ppc.dmg"; +} -- cgit v1.2.3