RELEASE.md: setting the custom mirror from the shell

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Jeremy Karst 2026-11-22 20:25:17 -05:00
parent f1f299920a
commit 5f4afd0155

View file

@ -473,7 +473,18 @@ Traefik's LAN IP). pf cannot redirect connections the firewall makes
itself, so set System > Firmware > Settings > Mirror to "(custom)" with that
URL instead of rewriting the repository files. The setting is kept in
`config.xml`, and core applies it on every firmware reload
(`opnsense-update -sd -m`), so it survives core updates. The changelog and
(`opnsense-update -sd -m`), so it survives core updates. On the vendor's
26.1.9 the GUI did not save it (2026-11-23); this did, keeping the previous
version in System > Configuration > History:
```sh
/usr/local/bin/php -r 'require_once("config.inc"); require_once("util.inc"); global $config;
$config["system"]["firmware"]["mirror"] = "https://opnsense.karsttech.com:444";
write_config("custom mirror opnsense.karsttech.com:444");'
configctl firmware reload
opnsense-update -M # https://opnsense.karsttech.com:444/FreeBSD:14:aarch64/26.1
```
The changelog and
bogons downloads do not follow it: `opnsense-update -X` reads core's
`OPNsense.conf.sample`, which names the mirror without a port. On such a
gateway the GUI changelog is unavailable, and the bogons list keeps the