Colin Watson cjwatson at ubuntu.com
Wed Nov 23 04:14:43 CST 2005


On Tue, Nov 22, 2005 at 04:24:42PM -0800, Matt Zimmerman wrote:
> On Tue, Nov 22, 2005 at 10:35:42AM +0100, François Périchon wrote:
> > I'am trying to get the hostname obtained by dhcp correctly set up at
> > boot time in a breezy/ltsp system.
> > Domain, hostname aren't passed to the real init (see
> > http://bugzilla.ubuntu.com/show_bug.cgi?id=18466)
> > 
> > Before the nfs root filesystem is mounted, the ipconfig command is
> > launched and write all the information it gets in the file
> > /tmp/net-{$DEVICE}.conf which is immediately included in the script.
> > Those informations are not used and lost.
> > 
> > To correct this, I export the useful variables so that the rcS scripts
> > could be aware of them.
> 
> Does klibc or busybox have a hostname command?  It would be simpler to set
> it in early userspace and be done with it.

I've enabled the hostname applet in busybox-initramfs 1:1.01-3ubuntu2.

-- 
Colin Watson                                       [cjwatson at ubuntu.com]



More information about the ubuntu-devel mailing list