Nicolas Massé 5 years ago
parent
commit
6b5b4b9c58
  1. 20
      pxe-setup/README.md
  2. 10
      pxe-setup/dnsmasq.conf

20
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). 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
```

10
pxe-setup/dnsmasq.conf

@ -11,6 +11,10 @@ dhcp-option=option:dns-server,192.168.23.1
dhcp-boot=pxelinux.0 dhcp-boot=pxelinux.0
# Serve the PXE Menu for different arches # Serve the PXE Menu for different arches
pxe-service=x86PC,"PXE Menu (BIOS)",pxelinux pxe-prompt="Loading PXE Menu...",0
pxe-service=X86-64_EFI,"PXE Menu (UEFI)",BOOTX64.EFI pxe-service=0,"PXE Menu (BIOS)",pxelinux
pxe-service=BC_EFI,"PXE Menu (UEFI)",BOOTX64.EFI 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,...).

Loading…
Cancel
Save