This commit is contained in:
Tiara Rodney 2026-03-14 05:38:45 +01:00
commit 883f31932e
No known key found for this signature in database
GPG key ID: 5CD8EC1D46106723
169 changed files with 5676 additions and 0 deletions

13
scripts/vm/destroy.sh Executable file
View file

@ -0,0 +1,13 @@
#!/bin/sh
# Destroy everything: stop VMs, delete volumes.
# Use scripts/vm/create.sh to start over.
set -eu
. "$(dirname "$0")/env.sh"
"$(dirname "$0")/stop.sh"
echo "==> Deleting volumes"
"$QEMU_VM" volume delete "$PROXY_VM" 2>/dev/null || true
"$QEMU_VM" volume delete "$IDP_VM" 2>/dev/null || true
echo "==> Destroyed. Run scripts/vm/create.sh to recreate."