Files
hackacad/docs/chapters/subcommands/destroy.rst
2025-04-27 12:35:59 -06:00

28 lines
843 B
ReStructuredText

destroy
=======
Destroy jails or releases.
.. code-block:: shell
ishmael ~ # bastille destroy -a folsom
[folsom]:
folsom: removed
Deleting Jail: folsom.
Note: jail console logs archived.
/var/log/bastille/folsom_console.log-YYYY-MM-DD
Release can be destroyed provided there are no child jails. The ``-c|--no-cache``
option will retain the release cache (*.txz file), if you choose to keep it.
.. code-block:: shell
ishmael ~ # bastille destroy help
Usage: bastille destroy [option(s)] [JAIL|RELEASE]
Options:
-a | --auto Auto mode. Start/stop jail(s) if required.
-c | --no-cache Do no destroy cache when destroying a release.
-f | --force Force unmount any mounted datasets when destroying a jail or release (ZFS only).
-x | --debug Enable debug mode.