Interestingly, the /etc/ltsp/dhcpd.conf file shipped with the ltsp-server-standalone package is right, i.e. it's exactly the same as above except of the .tmp suffix:
# # Default LTSP dhcpd.conf config file. #
authoritative;
subnet 192.168.0.0 netmask 255.255.255.0 { range 192.168.0.20 192.168.0.250; option domain-name "example.com"; option domain-name-servers 192.168.0.1; option broadcast-address 192.168.0.255; option routers 192.168.0.1; # next-server 192.168.0.1; # get-lease-hostnames true; option subnet-mask 255.255.255.0; option root-path "/opt/ltsp/i386"; if substring( option vendor-class-identifier, 0, 9 ) = "PXEClient" { filename "/ltsp/i386/pxelinux.0"; } else { filename "/ltsp/i386/nbi.img"; } }
It seems like some script changed the file during the LTSP automatic installation & configuration.
Interestingly, the /etc/ltsp/ dhcpd.conf file shipped with the ltsp-server- standalone package is right, i.e. it's exactly the same as above except of the .tmp suffix:
#
# Default LTSP dhcpd.conf config file.
#
authoritative;
subnet 192.168.0.0 netmask 255.255.255.0 { class-identifie r, 0, 9 ) = "PXEClient" { i386/pxelinux. 0"; i386/nbi. img";
range 192.168.0.20 192.168.0.250;
option domain-name "example.com";
option domain-name-servers 192.168.0.1;
option broadcast-address 192.168.0.255;
option routers 192.168.0.1;
# next-server 192.168.0.1;
# get-lease-hostnames true;
option subnet-mask 255.255.255.0;
option root-path "/opt/ltsp/i386";
if substring( option vendor-
filename "/ltsp/
} else {
filename "/ltsp/
}
}
It seems like some script changed the file during the LTSP automatic installation & configuration.