Add documentation for multiple classes (#422)

This commit is contained in:
Tim Byrne 2022-09-03 19:47:53 -05:00
parent efd227a063
commit 26aedd311b
No known key found for this signature in database
GPG Key ID: 14DB4FC2465A4B12
1 changed files with 8 additions and 0 deletions

View File

@ -121,6 +121,14 @@ Similarly, the values of `arch`, `os`, `hostname`, and `user` can be manually
overridden using the configuration options `local.arch`, `local.os`,
`local.hostname`, and `local.user`.
Additional local classes can be defined using the `--add` switch.
yadm config --add local.class <additional-class>
You can display all of the classes using `--get-all`.
yadm config --get-all local.class
## Templates
Templates are another powerful tool for creating alternate content on each host.