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" <[email protected]>
Datum: 31 juli 2025 13:10
Aan: Freebsd Stable <[email protected]>
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
[email protected]

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




Reply via email to