From 760fdd96252a76b10195d7efc9f38a828f992509 Mon Sep 17 00:00:00 2001 From: Ben Grande Date: Tue, 30 Apr 2024 14:05:48 +0200 Subject: [PATCH] doc: cacher documentation duplicates sections Fixes: https://github.com/ben-grande/qusal/issues/31 --- salt/sys-cacher/README.md | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/salt/sys-cacher/README.md b/salt/sys-cacher/README.md index aecb67f..7c3bfcc 100644 --- a/salt/sys-cacher/README.md +++ b/salt/sys-cacher/README.md @@ -11,7 +11,6 @@ Caching proxy server for software repositories in Qubes OS. * [Report Page and Maintenance Tasks](#report-page-and-maintenance-tasks) * [Connect to the cacher via IP instead of Qrexec](#connect-to-the-cacher-via-ip-instead-of-qrexec) * [Non-TemplateVMs integration](#non-templatevms-integration) - * [Rewrite URIs inside the qube](#rewrite-uris-inside-the-qube) * [Uninstallation](#uninstallation) * [Credits](#credits) @@ -145,24 +144,12 @@ lose the current session: qvm-tags add QUBE updatevm-sys-cacher qvm-features QUBE service.updates-proxy-setup 1 qvm-run --user=root QUBE -- " - touch /var/run/qubes-service/updates-proxy-setup - /usr/lib/qubes/update-proxy-configs - systemctl restart qubes-updates-proxy-forwarder.socket" +touch /var/run/qubes-service/updates-proxy-setup +/usr/bin/apt-cacher-ng-repo +systemctl restart qubes-updates-proxy-forwarder.socket" sudo qubesctl --skip-dom0 --targets=QUBE state.apply sys-cacher.install-client ``` -### Rewrite URIs inside the qube - -Sometimes you may want to enable of disable the cacher definition, mostly when -you are using an AppVM based on a TemplateVM that uses `sys-cacher`, but the -AppVM should make a direct connection instead of going through the proxy for -updates. - -Use `uninstall` or `install` as argument to the command `apt-cacher-ng-repo`: -```sh -sudo apt-cacher-ng-repo uninstall -``` - ## Uninstallation - Top: