Subject: network config only written to target disk when using DHCP?
To: None <tech-install@netbsd.org>
From: None <hubert@feyrer.de>
List: tech-install
Date: 12/18/2000 04:34:37
from src/distrib/utils/sysinst/net.c:

        /* If not running in target, copy resolv.conf there. */
        if ((net_dhcpconf & DHCPCONF_NAMESVR) == 0) {
                if (strcmp(net_namesvr, "") != 0)
                        dup_file_into_target("/etc/resolv.conf");
        }

it seems net_dhcpconf is only set when the config is actually read in from
DHCP, not when enterred manually. As a result, if someone sets up a system
that's not configured via DHCP but manually, answering the question

  ``Is the network information you entered accurate for this machine
  in regular operation and do you want it installed in /etc?''

results in no effect as a result.


 - Hubert

-- 
Hubert Feyrer <hubert@feyrer.de>