diff --git a/deployments/automation/FOG Project/Configure Pi-Hole PXE Boot.md b/deployments/automation/FOG Project/Configure Pi-Hole PXE Boot.md index 928d645..05d4f8c 100644 --- a/deployments/automation/FOG Project/Configure Pi-Hole PXE Boot.md +++ b/deployments/automation/FOG Project/Configure Pi-Hole PXE Boot.md @@ -1,2 +1,16 @@ ## Purpose -This document was written to provide instructions for setting up a FOG Project server behind a Pi-Hole that has DHCP configured on it. \ No newline at end of file +This document was written to provide instructions for setting up a FOG Project server behind a Pi-Hole that has DHCP configured on it. Start by connecting to the Pi-Hole's CLI either via SSH or Portainer/Docker Interactive CLI and run `vi /etc/dnsmasq.d/99-pxe.conf` + +```ini name="/etc/dnsmasq.d/99-pxe.conf" +# Detect UEFI x64 clients +dhcp-match=set:efi-x86_64,option:client-arch,7 + +# UEFI boot file +dhcp-boot=tag:efi-x86_64,snponly.efi,,192.168.3.9 + +# Default (BIOS) +dhcp-boot=undionly.kpxe,,192.168.3.9 + +# Optional (explicit next-server) +dhcp-option=66,192.168.3.9 +```