Solved Unattended installs using pkg


New Member

Reaction score: 1
Messages: 14

I'm in the middle of setting up a FreeBSD server using Ansible and I needed to skip prompts during a pkg install command to force it into 'unattended mode'. I am relatively still new to FreeBSD and am finding my way around the handbook but mostly using man pages, but this was not quite well documented.

I ended up using ASSUME_ALWAYS_YES=TRUE in an env var but it took me some time to find out about it.

My question is: Is this option intentionally been left undocumented (as it may change?) or if not then what is the best way to improve the man page? I'd love to contribute to FreeBSD (even with documentation) to be able to help newcomers and myself in the community. Where do I start?

Thanks in advance,

-- Attila