Commit 08f959ac1052

Vincent Demeester <vincent@sbr.pm>
2021-09-15 19:47:43
tools/k8s.infra: remove all storage on delete
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 75b39fd
Changed files (1)
tools
k8s.infra
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
 }