* Peter Nagel <peter.na...@kit.edu> [2016-02-24 13:47]:
> The debian installer (within expert mode) does not ask for the (new)
> hostname but just takes the hostname from the flash memory.

We read the hostname from your existing configuration, but I don't see
any code that actually sets this hostname in d-i (this might be a
bug).

We set the hostname to debian and the domain to example.org.  Values
obtained via DHCP take preference over these defaults.

The reason we're setting the hostname is that you need to complete the
network configuration, so you can SSH into the installer and afaik
it's not possible to set the IP without setting other network
parameters, such as hostname (i.e. doing the network configuration in
two steps).

So I'm not sure what to do about this bug report.

I guess my question is: did the installer use the hostname from DHCP
(or was it "debian") and if so what's wrong with taking the hostname
from DHCP?

> The problem is that (in some situations) it can be quite difficult to change 
> the hostname afterwards.
> E.g. if the installer creates a new RAID device this device would contain the 
> given hostname from the installer.
> If this RAID device does later contain the /-directory it can be quite 
> difficult to change the hostname-settings of the RAID device afterwards.
> A quick-fix would be to first (jump into a shell and to) change the hostname 
> (within the installer) and than continue with the installation.
> However, it would be nice if the installer would ask for the hostname before 
> the installation starts.

-- 
Martin Michlmayr
http://www.cyrius.com/

Reply via email to