Bug#815786: d-i does not ask for hostname
On Tue, Mar 1, 2016 at 2:46 AM, Martin Michlmayr <tbm@cyrius.com> wrote:
> * Roger Shimizu <rogershimizu@gmail.com> [2016-03-01 00:25]:
>> So you mean hostname actually is got from DHCP, so it's not broken here?
>> I tried d-i on my Linkstation with 2 different device, in 2 different
>> network (DHCP server), both of the final hostname are "debian", with
>> RAID name also "debian".
>
> Debian installer should take the hostname in that order (later taking
> preference):
>
> - "default" as default
>
> - Value from DHCP
>
> - Value from original firmware (if any)
>
> So if you get "debian", I assume no value comes from DHCP. (And I
> assume you no longer have an original firmware config since you're
> doing new Debian installations to the same disk.)
>
> Peter confirmed the installer got the hostname from DHCP. Are you
> saying this is broken, or does your DHCP not supply a hostname?
>
> I'm not sure what you're trying to say.
hostname from DHCP may work, but not every DHCP server provides one.
Yes, I did new installation, and got "debian" as hostname.
That's the same problem which Peter requested, ask for the hostname in
d-i/network-console.
>From implementation side, as you explained before, network-console
requires network set-up in early stage, so it may be hard to set up
hostname a second time.
Cheers,
--
Roger Shimizu, GMT +9 Tokyo
PGP/GPG: 17B3ACB1
Reply to: