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

From: Ronald Klop <ronald-lists_at_klop.ws>
Date: Thu, 31 Jul 2025 13:31:51 UTC
Hi,

Did you check freebsd-rustdate from ports/pkg? It uses the same servers, but is faster and a bit more user friendly IMHO. 
Didn’t test your exact use case though.


Regards,
Ronald. 

Van: "Patrick M. Hausen" <hausen@punkt.de>
Datum: 31 juli 2025 13:10
Aan: Freebsd Stable <freebsd-stable@freebsd.org>
Onderwerp: Non-interactive run of `freebsd-update upgrade` possible?

> 
> 
> 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
> 
> 
> 
> 
>