I am installing Debian Wheezy (netinstall) in VirtualBox using preseed.cfg.
I tried both d-i netcfg/get_hostname string somehost and d-i netcfg/get_hostname string somehost, but in both cases the host gets set as "debian". I tried both at the same time but still the host is set as "debian".
Excerpt from Debian's guide about preconfiguration file:
If you want to force a hostname, regardless of what either the DHCP server returns or what the reverse DNS entry for the IP is, uncommentand adjust the following line
d-i netcfg/hostname string somehost
Is this a bug or am I just unlucky?