coreapp-vm command, uninstall.sh, stale-system check

- bin/coreapp-vm replaces scripts/create-coreserver-vm.sh: create (downloads
  and checks the CoreServer image when it's missing, resumes an interrupted
  download), list, ip, ssh (own known_hosts), start, stop, delete (asks for
  the name). update.sh symlinks it into ~/.local/bin.
- uninstall.sh removes coreapp-vm, the coreapp network, its hook and ufw
  rules; asks before deleting VMs, the image and keys.
- install.sh runs CoreDesktop's update first when the system wasn't
  upgraded in the last day, as `sibling add` does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-12-03 11:40:04 -07:00
co-authored by Claude Opus 5.5
parent b405e35ea8
commit 0654d4c712
9 changed files with 443 additions and 143 deletions
+4
View File
@@ -173,4 +173,8 @@ if command -v ufw > /dev/null && grep -qs '^ENABLED=yes' /etc/ufw/ufw.conf; then
done
fi
# The coreapp-vm command: a symlink into this clone, so pulling updates it
mkdir -p "$HOME/.local/bin"
ln -sfn "$SELF/bin/coreapp-vm" "$HOME/.local/bin/coreapp-vm"
echo "coreapp-dev's host software is up to date."