Hi,the only 'workaround' I know is this:# yes | env PAGER=cat freebsd-update 
fetch   --not-running-from-cron# yes | env PAGER=cat freebsd-update 
install --not-running-from-cronRegards,vermadenTemat: Non-interactive run of 
`freebsd-update upgrade` possible?Data: 2025-07-31 13:10Nadawca: "Patrick M. 
Hausen" <[email protected]>Adresat: "Freebsd Stable" 
<[email protected]>; > 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
> [email protected]
> 
> AG Mannheim 108285
> Geschäftsführer: Daniel Lienert, Fabian Stein
> 
> 

Reply via email to