Pxe uefi nethserver

NethServer Version: NethServer release 7.8.2003
Joined to Windows 2016 Server
DNS - Windows Server
DHCP - Sophos (hardware) Firewall
Need to have pxe server with uefi support.
( No FOG Please )
Obviously cannot edit dnsmasq.
Please suggest me other ways to make it work.
-------- If just CentOS 8 /7 ----------------------

# Disable DNS Server
port=0
 
# Enable DHCP logging
log-dhcp
 
# Respond to PXE requests for the specified network;
# run as DHCP proxy
dhcp-range=192.168.1.0,proxy 
dhcp-boot=pxelinux.0
dhcp-match=set:efi-x86_64,option:client-arch,7
dhcp-boot=tag:efi-x86_64,grubx64.efi

 
# Provide network boot option called "Network Boot".
pxe-service=x86PC,"Network Boot",pxelinux
 
enable-tftp
tftp-root=/var/lib/tftpboot

----------------- above dnsmasq works with just CentOS —

Guide me a way in NethServer please

Nethserver supports PXE configuration, see admin docs and dev docs.

Some settings are supported by database props like

config setprop tftp dhcp-boot pxelinux.0

I don’t think you need to disable the DNS server.

For adding custom settings to /etc/dnsmasq.conf a custom template is needed:

Create custom template dir:

mkdir -p /etc/e-smith/templates-custom/etc/dnsmasq.conf

Create the file /etc/e-smith/templates-custom/etc/dnsmasq.conf/91pxe and add your wanted settings in this file like

log-dhcp

and maybe more if needed.

To apply dnsmasq configuration:

signal-event nethserver-dnsmasq-update

2 Likes