Matt Zimmerman
mdz at ubuntu.com
Tue Nov 22 18:24:42 CST 2005
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.
--
- mdz
More information about the ubuntu-devel
mailing list