From 26aedd311b1fd2f2eeb8c933bbe0f986dd6badeb Mon Sep 17 00:00:00 2001 From: Tim Byrne Date: Sat, 3 Sep 2022 19:47:53 -0500 Subject: [PATCH] Add documentation for multiple classes (#422) --- _docs/060_alternates.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/_docs/060_alternates.md b/_docs/060_alternates.md index 40f0b52..8eafd1a 100644 --- a/_docs/060_alternates.md +++ b/_docs/060_alternates.md @@ -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 + +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.