Files
docs/deployments/automation/FOG Project/Configure Pi-Hole PXE Boot.md
Nicole Rappe 19584733e7
All checks were successful
Automatic Documentation Deployment / Sync Docs to https://kb.bunny-lab.io (push) Successful in 5s
Update deployments/automation/FOG Project/Configure Pi-Hole PXE Boot.md
2026-05-04 19:48:30 -06:00

23 lines
759 B
Markdown

## 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. Start by connecting to the Pi-Hole's CLI either via SSH or Portainer/Docker Interactive CLI and create the following file:
### Configure PXE Records
```ini title="/etc/dnsmasq.d/99-pxe.conf"
# Detect if client is already using iPXE
dhcp-userclass=set:ipxe,iPXE
# If already in iPXE → send to FOG menu
dhcp-boot=tag:ipxe,http://192.168.3.9/fog/service/ipxe/boot.php
# Detect UEFI x64 clients
dhcp-match=set:efi-x86_64,option:client-arch,7
# First-stage boot loaders
dhcp-boot=tag:efi-x86_64,snponly.efi,,192.168.3.9
dhcp-boot=undionly.kpxe,,192.168.3.9
```
### Reload Pi-Hole DNS
```sh
pihole reloaddns
```