commit 08f959ac105266a675145e6bab8ba9d08e1de84e
parent 75b39fd6738951cdf44ab55b8dd86bbbef19c72c
Author: Vincent Demeester <vincent@sbr.pm>
Date: Wed, 15 Sep 2021 19:47:43 +0200
tools/k8s.infra: remove all storage on delete
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/tools/k8s.infra/k8s.infra.sh b/tools/k8s.infra/k8s.infra.sh
@@ -46,6 +46,7 @@ delete() {
} || {
echo "skipping, not present…"
}
+ ${VIRSH_COMMAND} undefine ${n} --remove-all-storage || echo "Failed to erase.."
done
}