From d5f981c552139d839aa91ae86d89160f8b411ca4 Mon Sep 17 00:00:00 2001 From: Tim Byrne Date: Mon, 21 Feb 2022 10:27:53 -0600 Subject: [PATCH] Add documentation for distro_family (#213) --- _docs/060_alternates.md | 1 + 1 file changed, 1 insertion(+) diff --git a/_docs/060_alternates.md b/_docs/060_alternates.md index 9d6605b..0daf69c 100644 --- a/_docs/060_alternates.md +++ b/_docs/060_alternates.md @@ -30,6 +30,7 @@ be omitted. Most attributes can be abbreviated as a single letter. | `template`, `t` | Valid when the value matches a supported template processor. See the [Templates](/docs/templates) section for more details. | | `user`, `u` | Valid if the value matches the current user. Current user is calculated by running id ‑u ‑n. | | `distro`, `d` | Valid if the value matches the distro. Distro is calculated by running lsb_release ‑si or inspecting /etc/os-release | +| `distro_family`, `f` | Valid if the value matches the distro family. Distro family is calculated by inspecting the `ID_LIKE` line from /etc/os-release | | `os`, `o` | Valid if the value matches the OS. OS is calculated by running uname ‑s. * | | `class`, `c` | Valid if the value matches the local.class configuration. Class must be manually set using yadm config local.class <class>. | | `hostname`, `h` | Valid if the value matches the short hostname. Hostname is calculated by running uname ‑n, and trimming off any domain. |