forked from ungleich-public/cdist
Update HOSTFILE FORMAT description.
This commit is contained in:
parent
40c2eeeabd
commit
d9d739cd44
1 changed files with 9 additions and 4 deletions
|
@ -120,10 +120,15 @@ Configure one or more hosts.
|
||||||
|
|
||||||
HOSTFILE FORMAT
|
HOSTFILE FORMAT
|
||||||
~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~
|
||||||
HOSTFILE contains hosts per line.
|
HOSTFILE contains hosts per line.
|
||||||
All characters after and including '#' until the end of line is a comment
|
All characters after and including '#' until the end of line is a comment.
|
||||||
and is stripped away.
|
In a line, all leading and trailing whitespace characters are ignored.
|
||||||
Empty lines and comment lines (line that starts with '#') are skipped.
|
Empty lines are ignored/skipped.
|
||||||
|
|
||||||
|
Hostfile line is processed like the following. First, all comments are
|
||||||
|
removed. Then all leading and trailing whitespace characters are stripped.
|
||||||
|
If such a line results in empty line it is ignored/skipped. Otherwise,
|
||||||
|
host string is used.
|
||||||
|
|
||||||
|
|
||||||
SHELL
|
SHELL
|
||||||
|
|
Loading…
Reference in a new issue