forked from ungleich-public/cdist
doc: template changed to /bin/sh
This commit is contained in:
parent
1878c35ac4
commit
6b125d26ec
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ TEMPLATING
|
||||||
* create the template as an executable file like templates/basic.conf.sh, it will output text using shell variables for the values
|
* create the template as an executable file like templates/basic.conf.sh, it will output text using shell variables for the values
|
||||||
|
|
||||||
--------------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------------
|
||||||
#!/bin/bash
|
#!/bin/sh
|
||||||
# in the template, use cat << eof (here document) to output the text
|
# in the template, use cat << eof (here document) to output the text
|
||||||
# and use standard shell variables in the template
|
# and use standard shell variables in the template
|
||||||
# output everything in the template script to stdout
|
# output everything in the template script to stdout
|
||||||
|
|
Loading…
Reference in a new issue