Non-interactive run of `freebsd-update upgrade` possible?

From: Patrick M. Hausen <hausen_at_punkt.de>
Date: Thu, 31 Jul 2025 11:09:32 UTC
Hi all,

It's time to upgrade our ~100 hosts - again - and I would really
like to at least partly automate the procedure.

Current issue is that this sequence:

	freebsd-update upgrade -r 14.3 -b /tmp/be_mount.EkJx
	freebsd-update install -b /tmp/be_mount.EkJx
	freebsd-update install -b /tmp/be_mount.EkJx

in my experience insists on asking "Does this look reasonable? (y/n)"
interactively.

And no version of

	export ASSUME_ALWAYS_YES=yes

or

	--not-running-from-cron

seems to change that.

Am I missing anything? I mean, after updating a handful of test
systems - and especially when upgrading into a new BE -
it should be possible to just rollout the new release via Ansible.

Thanks and kind regards,
Patrick
-- 
punkt.de GmbH
Patrick M. Hausen
.infrastructure

Sophienstr. 187
76185 Karlsruhe

Tel. +49 721 9109500

https://infrastructure.punkt.de
info@punkt.de

AG Mannheim 108285
Geschäftsführer: Daniel Lienert, Fabian Stein