clarifying template docs

This commit is contained in:
Christer Edwards
2019-12-07 17:48:06 -07:00
parent 29565b22c8
commit abbec0652d

View File

@@ -1,9 +1,9 @@
Bastille: Automated Container Security Bastille: Automate Container Security
====================================== =====================================
Bastille is an open-source system for automating deployment and management of [Bastille](https://bastillebsd.org/) is an open-source system for automating
containerized applications on FreeBSD. deployment and management of containerized applications on FreeBSD.
Looking for [Bastille Templates](https://gitlab.com/BastilleBSD-Templates)? Looking for [Bastille Templates](https://gitlab.com/BastilleBSD-Templates/)?
Installation Installation
@@ -557,9 +557,9 @@ To leverage a template hook, create an UPPERCASE file in the root of the
template directory named after the hook you want to execute. eg; template directory named after the hook you want to execute. eg;
```shell ```shell
echo "install zsh vim-console git-lite htop" > /usr/local/bastille/templates/base/PKG echo "zsh vim-console git-lite htop" > /usr/local/bastille/templates/username/base/PKG
echo "/usr/bin/chsh -s /usr/local/bin/zsh" > /usr/local/bastille/templates/base/CMD echo "/usr/bin/chsh -s /usr/local/bin/zsh" > /usr/local/bastille/templates/username/base/CMD
echo "etc\nroot\nusr" > /usr/local/bastille/templates/base/OVERLAY echo "usr" > /usr/local/bastille/templates/username/base/OVERLAY
``` ```
Template hooks are executed in specific order and require specific syntax to Template hooks are executed in specific order and require specific syntax to