Bug#719101: netcfg: provide a clean way to change default hostname (for derivatives)
Raphaël Hertzog <email@example.com> (2013-08-08):
> Package: netcfg
> Version: 1.110
> Severity: wishlist
> For Kali, we obviously wanted to have "kali" as the default hostname. Up
> to now we just used to add this in preseed.cfg in our installer initrd:
> # Change default hostname
> d-i netcfg/get_hostname string kali
> d-i netcfg/get_hostname seen false
> Unfortunately this has bad side-effects such as the impossibility to
> actually automate a PXE install because the "seen" flag is always reset
> to false (even if we pass "hostname=kali" on the kernel command line).
Use hostname?=kali on the kernel command line instead?