Seed RunTipi user-config from a template and persist the container network. #3

Merged
lksz merged 1 commit from feat/setup-runtipi-repos-user-config-template into main 2026-11-16 03:35:07 +00:00
Owner

Summary

  • With no --user-config-git, an empty user-config is seeded from runtipi.user-config.template/ and git init'd with no remote. A URL still clones or points origin at that repo.
  • --runtipi-repo NAME=URL and repeatable --add-runtipi-repo set the default and extra appstores.
  • wohpe setup network resolves bridge, MAC, IP, gateway, and prefix into srv/.secret/ct.network.env. mk-wohpe and do_user read that file instead of a hardcoded LAN address.
  • Same flag polarity as Ogun: WOHPE_INTERACTIVE / WOHPE_DIRECT_ZFS default on; --no-interactive and --no-zfs opt out.

Test plan

  • wohpe setup network writes the network env and a later mk-wohpe uses those values
  • wohpe setup user-config with no URL seeds the template into an empty dir and inits git with no origin
  • --user-config-git URL clones or sets origin and does not overwrite an existing repo
  • wohpe status --doctor accepts a user-config repo with no origin when no URL is configured
## Summary - With no `--user-config-git`, an empty `user-config` is seeded from `runtipi.user-config.template/` and `git init`'d with no remote. A URL still clones or points `origin` at that repo. - `--runtipi-repo NAME=URL` and repeatable `--add-runtipi-repo` set the default and extra appstores. - `wohpe setup network` resolves bridge, MAC, IP, gateway, and prefix into `srv/.secret/ct.network.env`. `mk-wohpe` and `do_user` read that file instead of a hardcoded LAN address. - Same flag polarity as Ogun: `WOHPE_INTERACTIVE` / `WOHPE_DIRECT_ZFS` default on; `--no-interactive` and `--no-zfs` opt out. ## Test plan - [ ] `wohpe setup network` writes the network env and a later `mk-wohpe` uses those values - [ ] `wohpe setup user-config` with no URL seeds the template into an empty dir and inits git with no origin - [ ] `--user-config-git URL` clones or sets origin and does not overwrite an existing repo - [ ] `wohpe status --doctor` accepts a user-config repo with no origin when no URL is configured
First-install can clone a user-config repo or init from the placeholder template, register extra appstores, and resolve bridge, MAC, and IP into the gitignored network env instead of a hardcoded LAN address. Flags follow the same INTERACTIVE/DIRECT_ZFS defaults as Ogun.

Co-authored-by: Cursor <cursoragent@cursor.com>
lksz merged commit 834efa01d5 into main 2026-11-16 03:35:07 +00:00
lksz deleted branch feat/setup-runtipi-repos-user-config-template 2026-11-16 03:35:13 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
szmedia/wohpe!3
No description provided.