Bug#315030: writes gateway ip to /etc/resolv.conf when using preseeded settings
Package: netcfg
Severity: important
hi,
it seems to me like d-i sets the gateway's ip as nameserver when
preseeding a static network configuration.
These are the relevant settings in my preseed file:
d-i netcfg/choose_interface select eth0
d-i netcfg/disable_dhcp boolean true
d-i netcfg/get_nameservers string 19.224.1.20
d-i netcfg/get_ipaddress string 19.224.8.107
d-i netcfg/get_netmask string 255.255.0.0
d-i netcfg/get_gateway string 19.224.8.230
d-i netcfg/confirm_static boolean true
d-i netcfg/get_hostname string debian
d-i netcfg/get_domain string intranet.xxx
d-i fails to download the release file (as result of the broken DNS
configuration), looking at /etc/resolv.conf on d-i's console:
~ # cat /etc/resolv.conf
search intranet.xxx
nameserver 19.224.8.230
bye,
- michael
Reply to: