mirror of
https://git.valherun.com/valherun/pxe_boot_alma.git
synced 2026-10-15 19:42:03 -04:00
- restructure boot/kickstarts/scripts/docs into homelab/ - docs: alma9->10 breaking changes, CIS hardening, kickstart changes - add find_cron_entries.sh helper and codex running memory notes Co-Authored-By: Claude Fable 5 <[email protected]>
31 lines
870 B
Plaintext
31 lines
870 B
Plaintext
# Example dnsmasq config for AlmaLinux PXE on server1.
|
|
# Adjust interface names, addresses, and file paths before use.
|
|
|
|
interface=enp2s0
|
|
bind-interfaces
|
|
|
|
domain-needed
|
|
bogus-priv
|
|
log-dhcp
|
|
|
|
# DHCP range for PXE clients
|
|
dhcp-range=192.168.50.100,192.168.50.150,255.255.255.0,12h
|
|
dhcp-option=option:dns-server,192.168.50.1
|
|
|
|
# Set a fixed lease for a known PXE target if desired.
|
|
# dhcp-host=52:54:00:12:34:56,server2,192.168.50.20
|
|
|
|
enable-tftp
|
|
tftp-root=/var/lib/tftpboot
|
|
|
|
# Detect firmware type. BIOS clients use PXELINUX; UEFI clients use GRUB EFI.
|
|
dhcp-match=set:bios,option:client-arch,0
|
|
dhcp-match=set:efi64,option:client-arch,7
|
|
dhcp-match=set:efi64,option:client-arch,9
|
|
|
|
dhcp-boot=tag:bios,pxelinux.0
|
|
dhcp-boot=tag:efi64,EFI/BOOT/BOOTX64.EFI
|
|
|
|
# If server1 is not the DHCP server, convert this to proxy-DHCP mode instead.
|
|
# dhcp-range=192.168.50.0,proxy,255.255.255.0
|