Ignore DHCP hostname if name is specified in kernel command line
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
debian-installer (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: debian-installer
Ubuntu 10.04 (Lucid Lynx) i386/amd64
debian-installer from Minimal CD ISO
https:/
A hostname is specified using the hostname alias on the kernel command line as per the Debian manual:
http://
If the DHCP server also returns a hostname it is used instead of the manually specified one.
Example: If I boot a system with Knoppix, my DHCP server (IPCop 1.4) remembers the system it as "Knoppix". If I then PXE boot the Minimal ISO (loopback mounted), set the hostname to "newsystem1" and perform the installation, the target system ends up with a /etc/hostname set to knoppix.
It looks like the DHCP hostname usage was a feature:
http://
but it needs to be ignored when a kernel boot command line specifies "hostname".