preseeding hostname doesn't work in a network install

Bug #218965 reported by Mathias Gug on 2008-04-18
60
This bug affects 10 people
Affects Status Importance Assigned to Milestone
netcfg (Debian)
Fix Released
Unknown
netcfg (Ubuntu)
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.

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.

Mathias Gug (mathiaz) wrote :
Mathias Gug (mathiaz) wrote :
Mathias Gug (mathiaz) wrote :
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.

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
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
Thomas Sondag (thomas-sondag) wrote :

I solve the issue for myself if you are interested :

Thomas Sondag (thomas-sondag) wrote :

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

tags: added: patch-forwarded-debian

Very annoying bug. Lets fix this.

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  Edit
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.