Hey,
how can I check for updates via the CLI?
I would need the same function as under System: Firmware: "Check for Updates".
I have already tried with the following commands:
/usr/local/opnsense/scripts/firmware/launcher.sh check
/usr/local/opnsense/scripts/firmware/check.sh
The problem is that the new update 21.1 is not found at the end.
Somehow it only works via the WEB GUI.
---
OPNsense 21.7.8-amd64
FreeBSD 12.1-RELEASE-p22-HBSD
OpenSSL 1.1.1m 14 Dec 2021
have a look at
https://github.com/Rosa-Luxemburgstiftung-Berlin/ansible-opnsense-checkmk/
esp.
https://github.com/Rosa-Luxemburgstiftung-Berlin/ansible-opnsense-checkmk/blob/main/files/firmware_status.py
maybe it helps ...
> The problem is that the new update 21.1 is not found at the end.
I think you mean "22.1" and for CLI you type "22.1" to upgrade. Simple as that. ;)
Cheers,
Franco