Further to the previous reply, I edited my old dhcpd.conf with the new filenames, and this is still working. I’m at a loss to explain this.
# DHCP Server Configuration file\n#see /usr/share/doc/dhcp*/dhcpd.conf.sample # This file was created by FOG #Definition of PXE-specific options # Code 1: Multicast IP Address of bootfile # Code 2: UDP Port that client should monitor for MTFTP Responses # Code 3: UDP Port that MTFTP servers are using to listen for MTFTP requests # Code 4: Number of seconds a client must listen for activity before trying # to start a new MTFTP transfer # Code 5: Number of seconds a client must listen before trying to restart # a MTFTP transfer option space PXE; option PXE.mtftp-ip code 1 = ip-address; option PXE.mtftp-cport code 2 = unsigned integer 16; option PXE.mtftp-sport code 3 = unsigned integer 16; option PXE.mtftp-tmout code 4 = unsigned integer 8; option PXE.mtftp-delay code 5 = unsigned integer 8; option arch code 93 = unsigned integer 16; use-host-decl-names on; ddns-update-style interim; ignore client-updates; # Specify subnet of ether device you do NOT want service. # For systems with two or more ethernet devices. # subnet 136.165.0.0 netmask 255.255.0.0 {} subnet 195.168.0.0 netmask 255.255.255.0{ authoritative; option subnet-mask 255.255.255.0; range dynamic-bootp 195.168.0.10 195.168.0.252; default-lease-time 5000000; max-lease-time 5000000; option routers 195.168.0.1; option domain-name-servers 8.8.8.8,8.8.4.4; option domain-search "local"; option domain-name "local"; next-server 195.168.0.1; # To make a specific rule based on a MAC address follow this pattern class "AlanPartridge" { match if binary-to-ascii(16,8,":",substring(hardware, 1, 6)) = "50:eb:f6:b7:8a:b0"; filename "snp.efi"; } class "Legacy" { match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00000"; filename "undionly.kkpxe"; } # To make a specific rule based on a MAC address follow this pattern # class "ThunderAMD" { # match if binary-to-ascii(16,8,":",substring(hardware, 1, 6)) = "a8:a1:59:42:15:08"; # filename "snp.efi"; #} class "UEFI-32-2" { match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00002"; filename "i386-efi/ipxe.efi"; } class "UEFI-32-1" { match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00006"; filename "i386-efi/ipxe.efi"; } class "UEFI-64-1" { match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00007"; # filename "snp.efi"; filename "secureboot/snponly-shimx64.efi"; } class "UEFI-64-2" { match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00008"; # filename "snp.efi"; filename "secureboot/snponly-shimx64.efi"; } class "UEFI-64-3" { match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00009"; # filename "snp.efi"; filename "secureboot/snponly-shimx64.efi"; } class "UEFI-ARM64" { match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00011"; # filename "arm64-efi/snponly.efi"; filename "secureboot/arm64-efi/snponly-shimaa64.efi"; } class "SURFACE-PRO-4" { match if substring(option vendor-class-identifier, 0, 32) = "PXEClient:Arch:00007:UNDI:003016"; # filename "ipxe.efi"; filename "secureboot/snponly-shimx64.efi"; } 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 "snponly.efi"; } } } }Categories
-
Technical Help
Get help with your FOG system. -
-
-
Developers
Report bugs, request features, or get the latest progress.