diff --git a/pxe-setup/README.md b/pxe-setup/README.md index 01793f1..deba6b1 100644 --- a/pxe-setup/README.md +++ b/pxe-setup/README.md @@ -143,3 +143,23 @@ firewall-cmd --reload Create **/var/www/lighttpd/auto-ks.cfg** from [auto-ks.cfg](auto-ks.cfg). +## DNS Setup + +Update **/etc/dnsmasq.conf**. + +``` +# DNS +auth-zone=itix.lab,192.168.23.0/24 +auth-server=ns.itix.lab, +auth-ttl=60 +expand-hosts +no-hosts +addn-hosts=/etc/dnsmasq.hosts +domain=itix.lab +``` + +Create **/etc/ethers** and **/etc/dnsmasq.hosts**. + +```sh +touch /etc/ethers /etc/dnsmasq.hosts +``` diff --git a/pxe-setup/dnsmasq.conf b/pxe-setup/dnsmasq.conf index d4bbd62..644efe3 100644 --- a/pxe-setup/dnsmasq.conf +++ b/pxe-setup/dnsmasq.conf @@ -11,6 +11,10 @@ dhcp-option=option:dns-server,192.168.23.1 dhcp-boot=pxelinux.0 # Serve the PXE Menu for different arches -pxe-service=x86PC,"PXE Menu (BIOS)",pxelinux -pxe-service=X86-64_EFI,"PXE Menu (UEFI)",BOOTX64.EFI -pxe-service=BC_EFI,"PXE Menu (UEFI)",BOOTX64.EFI +pxe-prompt="Loading PXE Menu...",0 +pxe-service=0,"PXE Menu (BIOS)",pxelinux +pxe-service=9,"PXE Menu (UEFI)",BOOTX64.EFI +pxe-service=7,"PXE Menu (UEFI)",BOOTX64.EFI +# Note: I had a bug with TianoCore's PXE ROM that does not boot if there +# is not at least two entries in the menu. +# I solved this by duplicating the relevant line (pxe-service=7,...).