init
This commit is contained in:
commit
883f31932e
169 changed files with 5676 additions and 0 deletions
15
scripts/teardown.sh
Normal file
15
scripts/teardown.sh
Normal 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."
|
||||
Loading…
Add table
Add a link
Reference in a new issue