netcfg/get_hostname in preseed.cfg file doesn't work on Karmic

Bug #499140 reported by Yufei
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
pxe (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: pxe

PXE+preseed.cfg auto install the Karmic Server.

In preseed.cfg file, we can set
d-i netcfg/get_hostname string myhost
d-i netcfg/get_hostname string mydomain.com

but the netcfg/get_hostname doesn't work, the system will still set it's hostname to "ubuntu"
netcfg/get_domain works

If add the netcfg/get_hostname at the append link in the pxe menu, it works. like following:

LABEL install
        kernel ubuntu-installer/amd64/linux
        append vga=normal initrd=ubuntu-installer/amd64/initrd.gz auto=true priority=critical interface=eth1 netcfg/dhcp_timeout=60 netcfg/get_hostname=myhost url=http://192.168.0.1/preseed.cfg -- console=ttyS0,9600n8

Revision history for this message
Anttix (anttix) wrote :

It will also work if You remove priority=critical
The same bug is present in debian testing

Changed in pxe (Ubuntu):
status: New → Confirmed
Revision history for this message
Eduardo Otubo (otubo) wrote :

Also affects the xCAT project on its mission to support Ubuntu Server - http://xcat.sourceforge.net/

Revision history for this message
alanoe (alanoe) wrote :

imho this bug should be closed, as it is a duplicate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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