Server
- FOG Version:
Running Version 1.4.2
SVN Revision: 6072
- OS:
CentOS Linux release 7.3.1611
Client
- Service Version: iPXE 1.0.0+ (7156)
- OS: macOS 10.11
Description
Hi everyone !
Been using Fog for a while here in our studio however we’ve recently hit some issue with regards to Mac’s.
A few weeks ago, I was able to setup Fog to work with mac’s, once I was done capturing and deploying was flawless on every computer, both older and newer models ( all intel based ).
Here is the apple specific part of dhcpd.conf that used to work :
class "Apple-Intel-Netboot" {
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 = 8) {
option vendor-class-identifier "AAPLBSDPC";
if (substring(option vendor-encapsulated-options, 0, 3) = 01:01:01) {
# BSDP List
option vendor-encapsulated-options 01:01:01:04:02:80:00:07:04:81:00:05:2a:09:0D:81:00:05:2a:08:69:50:58:45:2d:46:4f:47;
filename "ipxe.efi";
}
}
}
class "Apple-Intel-Netboot-Alt" {
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 = 8) {
option vendor-class-identifier "AAPLBSDPC";
if (substring(option vendor-encapsulated-options, 0, 3) = 01:01:01) {
# BSDP List
option vendor-encapsulated-options 01:01:01:04:02:80:00:07:04:81:00:05:2a:09:0D:81:00:05:2a:08:69:50:58:45:2d:46:4f:47;
}
elsif (substring(option vendor-encapsulated-options, 0, 3) = 01:01:02) {
# BSDP Select
option vendor-encapsulated-options 01:01:02:08:04:81:00:05:2a:82:0a:4e:65:74:42:6f:6f:74:30:30:31;
filename "ipxe7156.efi";
next-server 10.20.80.1;
}
}
So I was able to capture base images from El Capitan fresh installs but then I updated and prepared our clones and a system update broke everything, this doesn’t seem specific to a particular mac model, every system that had the update stopped working in PXE. This includes Mac minis and iMacs.
This is the error that I get :
Waiting for link-up on net0................. Down (http://ipxe.org/38086193)
Could not open net1: Input/output error (http://ipxe.org/1d6a4698)
From the research I’ve done it seems to be a firmware update on the network cards that caused this.
(ref : http://forum.ipxe.org/archive/index.php/thread-8296.html )
This does seem to be the cause since I still get the same issue after another fresh install.
I tried every possible .efi file as an alternative but none worked, I also tried booting to PXE from a usb key using both these methods :
The first method seems to work as I get the ipxe screen but I get the same error. ( net0 Down )
The second method didn’t work as I only got a blank screen with a flashing _ , did this one on a ubuntu laptop.
The problem isn’t with the DHCP as it works great on all our Linux workstations and every Mac computer that hasn’t got the system update.
Any help would be appreciated as I really don’t know where to look at next.