paperclip: bootstrap scripts for the container #61
Labels
No labels
Monitoring
automation
bug
duplicate
feature
forgejo
help wanted
homepage
invalid
k3s
keycloak
ldap
paperclip
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lab/homelab#61
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
Mirror the
lxc/opencode/provisioning pattern: a workstation-side script thatpushes secrets over SSH stdin, and a remote script that does the work.
Steps
lxc/paperclip/bootstrap-paperclip-lxc.shTS_AUTHKEY,GIT_TOKEN,OPENCODE_SERVER_USERNAME,OPENCODE_SERVER_PASSWORD(same names as the opencode script)~/.local/share/opencode/auth.jsonand the two kubeconfigsprintf %qquotinglxc/paperclip/remote-provision.shcurl+gitfrom aptpaperclip-lxc,--accept-dns=falsepaperclip, home/srv/paperclipdeb.nodesource.com/setup_24.x)opencodepinned to1.18.25via the native installer, moved to/opt/opencode, symlinked into/usr/local/binnpx paperclipai installas userpaperclip, so the managed store at/srv/paperclip/.paperclip/cliis usedlab/homelabinto/srv/paperclip/work/homelabDone when
ssh root@192.168.0.54 'su - paperclip -c "node --version && opencode --version && paperclipai --version"'reports Node >= 24.11, opencode 1.18.25, and a Paperclip version
tailscale ip -4returns an address