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

15
scripts/teardown.sh Normal file
View file

@ -0,0 +1,15 @@
#!/bin/sh
# Full teardown: destroy VMs and clean up local machine config.
set -eu
. "$(dirname "$0")/env.sh"
echo "==> Destroying VMs"
"$SCRIPT_DIR/vm/destroy.sh"
echo "==> Tearing down local WireGuard"
sudo "$SCRIPT_DIR/local/teardown-wireguard.sh"
echo "==> Removing local /etc/hosts entries"
sudo "$SCRIPT_DIR/local/teardown-hosts.sh"
echo "==> Done. Run scripts/provision.sh to start over."