Docs: platform-qualified commands; destroy stops Kali
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user