Re: Upgrade automation

From: Dave Cottlehuber <dch_at_FreeBSD.org>
Date: Wed, 11 May 2022 21:47:03 UTC
On Wed, 11 May 2022, at 16:20, Cristian Cardoso wrote:
>
> But since the command doesn't support -y no -not-running-from-cron for 
> the upgrade command, I believe everything is stalling on this question 
> and the playbook has no proceeding and it stays on this question below:
>
> `The following components of FreeBSD do not seem to be installed:
> world/base-dbg world/lib32-dbg
>
> Does this look reasonable (y/n)?`

Use `StrictComponents yes` in /etc/freebsd-update.conf to force that. And
obviously you'll have to set your `Components ...` correctly per host.

Thanks for sharing the playbook snippet.

A+
Dave
—
O for a muse of fire, that would ascend the brightest heaven of invention!