From 2427266803e16bd7899aeffa519b91cb7aa4b6d7 Mon Sep 17 00:00:00 2001 From: tschettervictor <85497460+tschettervictor@users.noreply.github.com> Date: Sat, 1 Mar 2025 12:56:20 -0700 Subject: [PATCH] docs: Add template to sub-commands --- docs/chapters/subcommands/template.rst | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 docs/chapters/subcommands/template.rst diff --git a/docs/chapters/subcommands/template.rst b/docs/chapters/subcommands/template.rst new file mode 100644 index 00000000..425b928c --- /dev/null +++ b/docs/chapters/subcommands/template.rst @@ -0,0 +1,22 @@ +template +======== + +Run preconfigured template files inside targeted jail(s). + +.. code-block:: shell + + ishmael ~ # bastille template azkaban project/template + +Templates should be structured in `project/template/Bastillefile` format, and placed in the template +directory, which defaults to `/usr/local/bastille/templates`. The Bastillefile should contain the template +hooks. See the chapter called Template for a list of supported hooks. + +.. code-block:: shell + + ishmael ~ # bastille template help + Usage: bastille template [option(s)] TARGET [--convert|project/template] + + Options: + + -a | --auto Auto mode. Start/stop jail(s) if required. + -x | --debug Enable debug mode.