I'm attempting to do an unattended installation of FreeBSD from a memstick image using bsdinstall() and a script (/etc/installerconfig). The installation of FreeBSD works fine, but I'm trying to install some pkgs at the same time and that involves accessing pkg.FreeBSD.org, but hostname resolution fails.
I addedd 'ifconfig_em0='DHCP' to /etc/rc.conf, which provides an IP address although I assumed that it would configure /etc/resolv.conf, but this file is just a symbolic link to /tmp/bsdinstall_etc/resolv.conf which is a non-existent file in a non-existent directory.
Anyone know how hostname resolution is supposed to work in this scenario?
I addedd 'ifconfig_em0='DHCP' to /etc/rc.conf, which provides an IP address although I assumed that it would configure /etc/resolv.conf, but this file is just a symbolic link to /tmp/bsdinstall_etc/resolv.conf which is a non-existent file in a non-existent directory.
Anyone know how hostname resolution is supposed to work in this scenario?