Re: [Ltsp-discuss] dhcp substring question

2006-08-16 Thread Gideon Romm
If you use "get-lease-hostnames" instead of "use-host-decl" in your dhcpd.conf, the hostnames passed to the thin client will come from /etc/hosts (or DNS). So, you can use that trick in the generic section, and then just have hostname entries in /etc/hosts for each IP in the "range". NOTE: Be su

Re: [Ltsp-discuss] dhcp substring question

2006-08-15 Thread Anselm Martin Hoffmeister
Am Dienstag, den 15.08.2006, 16:22 +0200 schrieb Richard Bos: > This piece of magic looks very interesting as it may prevent a lot of system > administration work: > subnet 192.168.0.0 netmask 255.255.255.0 { > range 192.168.0.100 192.168.0.199; > if substring (option vendor-class-iden

[Ltsp-discuss] dhcp substring question

2006-08-15 Thread Richard Bos
This piece of magic looks very interesting as it may prevent a lot of system administration work: subnet 192.168.0.0 netmask 255.255.255.0 { range 192.168.0.100 192.168.0.199; if substring (option vendor-class-identifier, 0, 9) = "PXEClient" { filename "/tftpboot/lts/2.4.26-lts