Commit Graph

7 Commits

Author SHA1 Message Date
Mortdecai d7205a911c fix: pass pubkey to tank-side.sh via env, not ssh command arg
ssh re-splits remote command args on spaces, so -- "$PUB" arrived as $1=ssh-ed25519
(the key body and comment became $2/$3). The loose validation passed and grep -qF
matched any ed25519 key -> false '[skip] key present'; the key was never added.
Pass PUB via env (safe inside remote single-quotes) and require 'ssh-ed25519 AAAA*'.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-09-15 19:39:33 -04:00
Mortdecai af51e0cfa3 fix: make SparkFun removal and launchd bootstrap non-fatal under set -e
networksetup -removenetworkservice fails on the sole PPP-port service and
aborted the whole run at exit 4 (before pmset/backup agent). Both it and the
GUI-domain launchctl bootstrap (flaky over SSH) are now best-effort with a
warn; the LaunchAgent plist auto-loads at next login regardless.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-09-15 19:36:56 -04:00
Mortdecai 39f61f48ce fix: unattended sudo via temporary NOPASSWD drop-in with triple cleanup
Piping a password into ssh -tt's pty raced and hung on the real run (worked in
a fast test, blocked for 14 min in practice). Replace with a temp
/etc/sudoers.d/mac-setup installed by _install_sudoers.sh (validated
before activation), removed on every exit path plus a 40-min on-Mac
self-destruct. setup.sh now fails fast if passwordless sudo is absent
instead of depending on a primed tty ticket.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-09-15 19:32:24 -04:00
Mortdecai 507bec3f46 feat: run.sh entry point and Tahoe manual checklist
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-15 19:09:45 -04:00
Mortdecai c47a220993 fix: tank-side.sh dataset check as explicit if (SC2015)
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-15 19:09:24 -04:00
Mortdecai 6643ac003c feat: nightly rsync backup to tank with rrsync-restricted key and sanoid history
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-15 19:09:16 -04:00
Mortdecai 0d733c77e7 feat: setup.sh — preflight, homebrew, bash5 shell, hostname, Linux-feel defaults, Dock/debloat, DAW power profile
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-15 19:09:15 -04:00