aboutsummaryrefslogtreecommitdiff
path: root/script/jepsen.garage/destroy-tap.sh
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-04-18 13:27:22 +0200
committerAlex Auvolat <alex@adnab.me>2023-10-18 12:03:11 +0200
commit17ebb652730f69f53fe7d2b31fbf2db2075b9be7 (patch)
tree9cb701289cb81bfc3eb10da0137bdb56d3942a67 /script/jepsen.garage/destroy-tap.sh
parent7011b71fbd782e199417ce9afa44a8c220885b4a (diff)
downloadgarage-17ebb652730f69f53fe7d2b31fbf2db2075b9be7.tar.gz
garage-17ebb652730f69f53fe7d2b31fbf2db2075b9be7.zip
jepsen ssh into containers seem to work ?
Diffstat (limited to 'script/jepsen.garage/destroy-tap.sh')
-rwxr-xr-xscript/jepsen.garage/destroy-tap.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/script/jepsen.garage/destroy-tap.sh b/script/jepsen.garage/destroy-tap.sh
new file mode 100755
index 00000000..544b3053
--- /dev/null
+++ b/script/jepsen.garage/destroy-tap.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+
+USER=$(whoami)
+
+for NODE in 1 2 3 4 5; do
+ sudo ip link delete microvm-n$NODE
+done
+
+