Add a `dnsmasq.conf` file to configure PXE boot

* Set the TFTP root directory to `tftpboot`
* Configure DHCP options for PXE boot
This commit is contained in:
CHUCK 2025-04-23 05:09:57 -04:00
parent 404454e4ed
commit 3442eec1d4
1 changed files with 7 additions and 0 deletions

7
dnsmasq.conf Normal file
View File

@ -0,0 +1,7 @@
port=0
log-dhcp
enable-tftp
tftp-root=/tftpboot
dhcp-range=192.168.0.50,192.168.0.150,12h
dhcp-match=set:efi64,option:client-arch,7
dhcp-boot=tag:efi64,grubx64.efi