tools: update inside LXC and use the existing proxy (#22)

Use the operator's HTTPS proxy with a private backend on port 5187. Limit the Proxmox host script to container creation and install a self-updating command inside the LXC. Preserve keys/history during legacy proxy migration and keep root updater code isolated from unprivileged build output.

Closes #21
This commit was merged in pull request #22.
This commit is contained in:
2026-11-15 13:06:04 +01:00
parent c75446008c
commit 43caf1e412
20 changed files with 657 additions and 608 deletions
+3 -3
View File
@@ -18,14 +18,14 @@ bash tools/proxmox.sh install --ctid 201 --storage local-lvm \
--domain usage.example.com --email [email protected]
```
For a later update, refresh and deploy the clean checkout with one command:
For a later update, run as root **inside the LXC**:
```bash
bash tools/proxmox-update.sh 201
finaltoken-update
```
Here `--email` is the intended **provider account identity**, not a Git login. The installer
reads the local checkout; the separate updater fetches its tracking branch first. The branch being cloned must contain the
reads the local checkout only during creation; the in-container updater fetches public master itself. The branch being cloned must contain the
web/worker/installer changes. A public visibility setting alone does not publish uncommitted work.
## Files to keep local