Docs: platform-qualified commands; destroy stops Kali

This commit is contained in:
2026-10-22 21:26:55 -04:00
parent 608b559e51
commit 0206eb6110
2 changed files with 16 additions and 9 deletions
+6
View File
@@ -20,6 +20,12 @@ cmd_destroy() {
backend_destroy "$name" || warn "could not fully remove $name"
done
# Kali lives outside the VMS table; stop it but keep its 16 GB base image.
if declare -F _kali_installed >/dev/null && _kali_installed; then
_kali_down >/dev/null 2>&1 || true
info "kali stopped; base image kept ($(du -h "$(_kali_base)" | cut -f1))"
fi
step "generated artifacts"
rm -rf "$LAB_ROOT/seeds" "$LAB_ROOT/run" "$LAB_ROOT/provision"
ok "seed ISOs, runtime state and provisioning scratch removed"