preseeding hostname doesn't work in a network install

Bug #218965 reported by Mathias Gug
60
This bug affects 10 people
Affects Status Importance Assigned to Milestone
netcfg (Debian)
Fix Released
Unknown
netcfg (Ubuntu)
Triaged
High
Unassigned

Bug Description

Binary package hint: debian-installer

Even if the preseed file has netcfg/get_hostname set to the hostname, a network install will create a host named ubuntu.

Revision history for this message
Mathias Gug (mathiaz) wrote :

Binary package hint: debian-installer

Even if the preseed file has netcfg/get_hostname set to the hostname, a network install will create a host named ubuntu.

Revision history for this message
Mathias Gug (mathiaz) wrote :
Revision history for this message
Mathias Gug (mathiaz) wrote :
Revision history for this message
Mathias Gug (mathiaz) wrote :
Revision history for this message
Mathias Gug (mathiaz) wrote :

I'd also add that remastering an iso with a preseed that set the hostname created a machine with the correct hostname.

Revision history for this message
Colin Watson (cjwatson) wrote :

This is (unfortunately) a fairly well-known and long-standing problem ...

Changed in netcfg:
importance: Undecided → High
status: New → Confirmed
status: Confirmed → Triaged
Changed in netcfg:
status: Unknown → New
Revision history for this message
Colin Watson (cjwatson) wrote :

This is annoying; I should have a go at this for 9.04 if nobody beats me to it.

Changed in netcfg:
milestone: none → later
Revision history for this message
Thomas Sondag (thomas-sondag) wrote :

I solve the issue for myself if you are interested :

Revision history for this message
Thomas Sondag (thomas-sondag) wrote :

and if you want to set the hostname in a network preseed

tags: added: patch-forwarded-debian
Revision history for this message
Glenn Aaldering (glennaaldering) wrote :

Very annoying bug. Lets fix this.

Revision history for this message
Ben Hagen (c.ben.hagen) wrote :

There is a patch at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=606636#42 which introduces a new netcfg/hostname option that -if set- takes precedence over the RDNS/DHCP hostname magic.

Changed in netcfg (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.