Bug#815786: d-i does not ask for hostname

2016-02-24 Thread Peter Nagel
Package: debian-installer Boot method: network Image version: debian-installer_20150422+deb8u3_armel.deb Date: January 18, 2016 Machine: QNAP TS-420U Processor: Marvell 1.6 GHz Memory: 1GB DDR3 Severity: normal Partitions: Filesystem Type 1K-blocks Used Available Use% Mounted on

Bug#815786: d-i does not ask for hostname

2016-02-24 Thread Martin Michlmayr
* Peter Nagel [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 migh

Bug#815786: d-i does not ask for hostname

2016-02-25 Thread Roger Shimizu
On Thu, Feb 25, 2016 at 5:12 AM, Martin Michlmayr wrote: > * Peter Nagel [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'

Bug#815786: d-i does not ask for hostname

2016-02-25 Thread Peter Nagel
From other installations I'm used to get ask for the new hostname - e.g. the installer prompts with the following message: "Please enter the hostname for this system. The hostname is a single word that identifies your system to the network. If you don't know what your hostname should be, consult

Bug#815786: d-i does not ask for hostname

2016-02-25 Thread Martin Michlmayr
* Roger Shimizu [2016-02-25 18:59]: > the code in: > http://anonscm.debian.org/cgit/d-i/oldsys-preseed.git/tree/oldsys-preseed > Line: 291 > HOSTNAME=$(grep "Server Name" $path/sda1/.config/uLinux.conf | sed 's/^.* > //') > > hostname get from there, and d-i won't really set up $HOSTNAME? W

Bug#815786: d-i does not ask for hostname

2016-02-25 Thread Martin Michlmayr
* Peter Nagel [2016-02-25 11:02]: > From other installations I'm used to get ask for the new hostname - e.g. the > installer prompts with the following message: ... > However, it looks like that the message (shown above) is missing for the > QNAP (armel) installation. Sorry, my explanation obviou

Bug#815786: d-i does not ask for hostname

2016-02-25 Thread Martin Michlmayr
* Martin Michlmayr [2016-02-25 10:40]: > We read the hostname and store it as $HOSTNAME but then we do: > > add "$FILE" "netcfg/get_hostname" "string" "debian" > > I guess this should be $HOSTNAME (if set) or "debian". But I'm not > sure that's even worth fixing now. Never mind... we do the ri

Bug#815786: d-i does not ask for hostname

2016-02-25 Thread Nagel, Peter (IFP)
On 25.02.2016 19:46, Martin Michlmayr wrote: > I'm not sure how difficult it would be to run netcfg again after you > connect with SSH and to show the hostname selection. > > Anyway, can you tell me if the installer took the hostname from DHCP? The installer takes the hostname from DHCP. Concern

Bug#815786: d-i does not ask for hostname

2016-02-25 Thread Martin Michlmayr
* Nagel, Peter (IFP) [2016-02-25 22:45]: > > Anyway, can you tell me if the installer took the hostname from DHCP? > The installer takes the hostname from DHCP. Thanks for confirming this. (I know this isn't the problem you were reporting, but I hear some issues around that and just wanted to en

Bug#815786: d-i does not ask for hostname

2016-02-25 Thread Roger Shimizu
On Fri, Feb 26, 2016 at 3:40 AM, Martin Michlmayr wrote: > * Roger Shimizu [2016-02-25 18:59]: >> the code in: >> http://anonscm.debian.org/cgit/d-i/oldsys-preseed.git/tree/oldsys-preseed >> Line: 291 >> HOSTNAME=$(grep "Server Name" $path/sda1/.config/uLinux.conf | sed 's/^.* >> //') >> >>

Bug#815786: d-i does not ask for hostname

2016-02-25 Thread Martin Michlmayr
* Roger Shimizu [2016-02-26 09:44]: > > I guess this should be $HOSTNAME (if set) or "debian". But I'm not > > sure that's even worth fixing now. > > I think it deserves a fix It's not broken (see my follow-up). > because RAID set-up also depends on the hostname as default name. > see ML threa

Bug#815786: d-i does not ask for hostname

2016-02-29 Thread Roger Shimizu
On Fri, Feb 26, 2016 at 9:57 AM, Martin Michlmayr wrote: > * Roger Shimizu [2016-02-26 09:44]: >> > I guess this should be $HOSTNAME (if set) or "debian". But I'm not >> > sure that's even worth fixing now. >> >> I think it deserves a fix > > It's not broken (see my follow-up). So you mean host

Bug#815786: d-i does not ask for hostname

2016-02-29 Thread Martin Michlmayr
* Roger Shimizu [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

Bug#815786: d-i does not ask for hostname

2016-02-29 Thread Roger Shimizu
On Tue, Mar 1, 2016 at 2:46 AM, Martin Michlmayr wrote: > * Roger Shimizu [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 a

Bug#815786: d-i does not ask for hostname

2016-02-29 Thread Nagel, Peter (IFP)
On 01.03.2016 00:32, Roger Shimizu wrote: > > 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. If your ssh connection is bind to the hostname (ssh user@hostname.domain) the connection