Merge pull request #281 from tobiastom/patch-1

Clarified the `RENDER` functionality.
This commit is contained in:
Christer Edwards
2020-11-27 10:10:25 -07:00
committed by GitHub

View File

@@ -678,9 +678,10 @@ Note: SYSRC requires NO quotes or that quotes (`"`) be escaped. ie; `\"`)
Any name provided in the ARG file can be used as a variable in the other hooks. Any name provided in the ARG file can be used as a variable in the other hooks.
For example, `name=value` in the ARG file will cause instances of `${name}` For example, `name=value` in the ARG file will cause instances of `${name}`
to be replaced with `value`. The `RENDER` hook can be used to specify files or to be replaced with `value`. The `RENDER` hook can be used to specify existing files or
directories whose contents should have the variables replaced. Values can be specified directories inside the jail whose contents should have the variables replaced. Values can be
either through the command line when applying the template or as a default in the ARG file. specified either through the command line when applying the template or as a default in the ARG
file.
In addition to supporting template hooks, Bastille supports overlaying files In addition to supporting template hooks, Bastille supports overlaying files
into the container. This is done by placing the files in their full path, using the into the container. This is done by placing the files in their full path, using the