I'm fairly new to FreeBSD.
I write a script to automate unattended installation.
I understand that right tool for this job is bsdinstall
Right now I write the setup-script for bsdinstall
.
I test this script standalone, not with bsdinstall
.
Since pkg
is not installed yet, it wants interactive confirmation to bootstrap itself.
Can I get rid of this interactive confirmation easily?
I want to avoid expect
, because I think there must be an easier way.
my attempts sofar:
pkg bootstrap
pkg bootstrap -f
yes | pkg bootstrap
yes | pkg bootstrap -f