Booting FreeBSD in a Diskless environment is useful for numerous reasons, but it is quite limiting when only using the base operating system. It would be much more useful to be able to install pkgs, but I haven't found a straightforward way to do this.
Can anyone suggest how to do this?
If I chroot() to ${NFSROOTDIR} and run
Can anyone suggest how to do this?
If I chroot() to ${NFSROOTDIR} and run
pkg install
I get:-Not sure what to make of this....The package management tool is not yet installed on your system.
Do you want to fetch and install it now? [y/N]: y
Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/FreeBSD:12:amd64/quarterly, please wait...
pkg: Error fetching http://pkg.FreeBSD.org/FreeBSD:12:amd64/quarterly/Latest/pkg.txz: No address record
A pre-built version of pkg could not be found for your system.
Consider changing PACKAGESITE or installing it from ports: 'ports-mgmt/pkg'.