Remote Pi deploy tooling: config + run, and SSH fixes #3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/pi-deploy-tooling"
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?
Follow-on to the installer (#2), shaped by first contact with the real Pis.
Why
sudohad no TTY over a non-interactive SSH session, and every step re-prompted for the login password.peer_hostand SSHing in to launch the phone.Changes (one per commit)
ssh -tsosudocan prompt, a single multiplexed connection so the password is asked once, and drop the redundantmkdir(rsync makes the dir).make config— prompts forpeer_host(the only per-Pi field), defaulting to the current value; writesconfig/config.yaml. Also runs aspiinstall's last step, and stands alone to re-point a Pi.make run— sync latest code and start the phone in the foreground overssh -t(log streams back, Ctrl-C stops it); shared push factored intorsync_tree.On-Pi logic stays in
scripts/pi_*.sh, consistent withpi_install.sh. Decisions logged inDECISIONS.md.🤖 Generated with Claude Code