DHCP-Option for FOG Server (https://fogproject.org)?

I like to use FOG-Server https://fogproject.org/ to clone my clients etc… Nethserver acts as dhcp-server in the LAN.

I tried to use a custom-template:

  • create template folder
    mkdir /etc/e-smith/templates-custom/etc/dhcpd.conf

  • create template file
    nano /etc/e-smith/templates-custom/etc/dhcpd.conf/99fog

  • content of 99fog
    filename “linux/pxelinux.0”;

  • expand template
    expand-template /etc/dhcpd.conf

But it has not been working…

How must I configure NethServer to be able to use another server for PXE ?

Hello @fausp,

NethServer uses dnsmasq as DNS/DHCP server so I think you have to custom-template /etc/dnsmasq.conf instead of /etc/dhcpd.conf.

PXE-Installation › Wiki › ubuntuusers.de (German)


Hello Markus, please, forgive me my ignorance and thank you for the hint and links…

It works now with this content:


1 Like

You’re welcome. Please mark the topic as solved as described here: