mirror of
https://github.com/hackacad/bastille.git
synced 2025-12-20 09:10:15 +01:00
28 lines
843 B
ReStructuredText
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.
|