docs(pkg-cache): spell out the canary conf needed before the first sync

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0185ukXi4YX5FxJGqhi6qab6
This commit is contained in:
shadowdaoandClaude Sonnet 5.5 committed 2026-11-29 07:32:18 -08:00
1 parent ebe635501d
commit 18dc4603da
1 file changed
+1
+1
View File
@@ -255,6 +255,7 @@ HTTP 200, non-empty, a real PGP signature). The `.asc` is what broke on 2026-11-
repos are already cache-first with the origin as 2nd URL. They have no health timer and no
`/etc/pkgcache-host.conf`, so `sync` treats them as OFF and would revert them. To keep them
on the cache, write the config with `PKGCACHE_ENABLED=1` first. To take them off, run `revert`.
**Before the first `sync` on the canary (192.168.1.148, which must keep using the cache)**, write `/etc/pkgcache-host.conf` there with `PKGCACHE_ENABLED=1`, `PKGCACHE_URL=https://192.168.1.40` and `PKGCACHE_CA=<path to ca.crt>`. A `sync` without that file reverts it to the stock repos.
**Why not "cache first, mirrorlist as fallback":** measured on AL10, with
mirrorlist/metalink left in place dnf **ignores `baseurl` completely** (0 cache