Skip to content

v2.7.1

Choose a tag to compare

@ptmplop ptmplop released this 03 Aug 16:29
· 8 commits to main since this release

Fixed

  • git clean inside the install directory could permanently break the SSH tab for every existing VM. The service account's home is the install directory itself, so the SSH keypair VirtPilot injects into every VM it builds lives at /usr/local/virtpilot/.ssh/. That path was untracked but not ignored, so a plain git clean -fd — the obvious thing to reach for when a clone gets wedged — deleted it. The backend then quietly generates a fresh keypair, so newly created VMs keep working while every VM created before that moment still has the old key in its authorized_keys and can never be reached from the SSH tab again. The serial console is the only way back in.

    Nothing VirtPilot ships has ever run git cleanupdate.sh uses git reset --hard, which leaves the directory alone — so no install can have hit this on its own. The keypair is now git-ignored, which is enough for git clean -fd to spare it.