hostname should be settable via DHCP

Bug #42929 reported by Christian Reis
This bug report is a duplicate of:  Bug #24600: Should honour hostname from DHCP. Edit Remove
12
Affects Status Importance Assigned to Milestone
initramfs-tools (Ubuntu)
New
Medium
Unassigned

Bug Description

On diskless systems and other setups with centralized configuration, the hostname should be settable via DHCP.

Revision history for this message
Christian Reis (kiko) wrote :

<kiko> so in our diskless network, hostnames are provided by the DHCP server
<kiko> salgado wrote a hack to the initramfs tools that sets the hostname based on what is provided
<kiko> infinity, a) do you know how this is handled for, say, ltsp? b) what do you think of the idea?
<infinity> kiko: For the ltsp use case, we'd want to talk to ogra, but the general principle is reasonable and sane.
<infinity> kiko: Do you then disable the init.d script that would (re)set the hostname based on /etc/hostname?
<kiko> infinity, we need to, yes.
<kiko> infinity, though we could change it to ignore /etc/hostname if a valid hostname is already set.
<infinity> kiko: Cause, I could pull that whole mechanism back into early userspace (yay, hostname set earlier!), then your feature would just need one more bit added to it (an initramfs.conf option, disabled by default), and we're set.
<infinity> kiko: Disabled by default, cause about 50% of the braodband ISPs I've used send hostnames via DHCP, and that's so not what the average user wants. :)
<kiko> infinity, that sounds awesome!

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.