[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#586360: preseed/url: netcfg/get_hostname value is ignored even if DHCP was disabled

Package: debian-installer
Severity: normal


I've performed several (automatic) installations of virtual machines with Debian
5.0 (lenny) using preseed/url and this line is completely ignored:
| d-i netcfg/get_hostname string pro-kd5x01

Instead of setting the hostname to 'pro-kd5x01' it was computed from the reverse
DNS entry for the given IP address with 'netcfg/get_ipaddress' parameter. Also,
probably the 'netcfg/get_domain' is also ignored but in this case it was the same
as in rDNS so it didn't matter.

Note that DHCP was disabled during the installation with this d-i key:
| netcfg/disable_dhcp=true

>From the docs I've read that 'netcfg/get_ipaddress' should only be ignored if
these values are given by a DHCP server. However, I don't have a DHCP server in
that remote network (thus the use of netcfg/disable_dhcp=true to avoid any
interactive communication during install).


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Reply to: