[Pkg-ltsp-devel] Bug#406366: ltsp-build-client: /etc/hostname breaks automatic hostname configuration

Vagrant Cascadian vagrant at freegeek.org
Sat Jan 20 07:53:32 UTC 2007


severity 406366 important
thanks

On Wed, Jan 10, 2007 at 05:10:48PM +0200, Damyan Ivanov wrote:
> First thing - first, LTSP rocks! debian packages install streamlined
> and I am really impressed (coming from lessdisks).

as both the author of lessdisks and some code in ltsp, i'm glad to hear
it. :)

> There is one small glitch that ate me a couple of hours to figure today.
> 
> After ltsp-build-client, the ltsp chroot's etc/hostname contains 'ltsp'.
> This causes DHCP-supplied hostname to be ignored, making client
> configuration via lts.conf impossible (using hostnames; it works with
> IP/MAC addresses).

yes, we include a file there, so that it can be over-written with the
proper hostname, however we have not yet implemented any way to
configure /etc/hostname...

i generally prefer to use mac addresses in lts.conf, so i only have to
edit one configuration file to configure a new thin-client... but it
should support all of the usual configuration methods (hostname/IP/MAC),
so i raised the bug severity to important.

> Please remove /etc/hostname from client's chroot after setting it up.

does removing /etc/hostname actually cause hostnames to get configured
properly?

you can install a plugin in /etc/ltsp/plugins/ltsp-build-client/XXX-FOO
to remove it after installation, if you want that behavior. see the
documentation for plugins in /usr/share/doc/ltsp-server/plugins

thanks for the feedback.

live well,
  vagrant




More information about the Pkg-ltsp-devel mailing list