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
    next-server 192.168.1.244;
    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)

2 Likes

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

It works now with this content:

dhcp-boot=undionly.kpxe,192.168.xxx.xxx

1 Like

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

https://community.nethserver.org/t/howto-mark-a-topic-as-solved/1750