Subject: Re: sysinst with dhcp: host-name option
To: Ignatios Souvatzis <email@example.com>
From: David Laight <firstname.lastname@example.org>
Date: 03/22/2007 20:44:19
On Thu, Mar 22, 2007 at 03:54:44PM +0100, Ignatios Souvatzis wrote:
> I've always wondered why sysinst wasn't capable to detect the
> installee's host name although it is present in dhcp - today I
> discovered the problem:
> sysinst is doing
> get_dhcp_value(dhcp_host, sizeof(dhcp_host), "hostname");
> while dhclient is writing the option as "host-name".
Well spotted ....
Someone with the odd round-tuit to spare could look at making sysinst
ask the user for network setup at the end of a non-network install.
Most of it is just plumbing existing functions into different places.
David Laight: email@example.com