Bug#282650: netcfg: incorrectly configures DNS when preseeded with static address
Package: netcfg
Version: 1.07
Severity: important
Using the rc2 businesscard image, remastered to include a copy of my
preseed file (no other changes). The DNS settings are incorrectly
configured - the nameserver entry seems to always get set to subnet+1,
even if I specify something different. Here is the snippet of my preseed
file:
d-i netcfg/disable_dhcp boolean true
d-i netcfg/get_nameservers string 192.168.1.5
d-i netcfg/get_ipaddress string 192.168.1.169
d-i netcfg/get_netmask string 255.255.255.0
d-i netcfg/get_gateway string 192.168.1.5
d-i netcfg/confirm_static boolean true
After the network is configured, /etc/resolv.conf and
/etc/network/interfaces both show 192.168.0.1 as the nameserver.
Obviously, this causes the rest of the installation to fail since it
can't resolve the mirror hostname.
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.6
Locale: LANG=en_US, LC_CTYPE=en_US
Reply to: