1
0
mirror of https://github.com/TheLocehiliosan/yadm synced 2026-03-02 03:49:29 +00:00

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

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.