Skip to content

Commit

Permalink
Make order of attributes match precedence
Browse files Browse the repository at this point in the history
  • Loading branch information
TheLocehiliosan committed Dec 23, 2021
1 parent 4caf5f6 commit 2f00dab
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions yadm.1
Original file line number Diff line number Diff line change
Expand Up @@ -478,6 +478,21 @@ Valid if the value matches the current user.
Current user is calculated by running
.BR "id -u -n" .
.TP
.BR hostname , " h
Valid if the value matches the short hostname.
Hostname is calculated by running
.BR "uname -n" ,
and trimming off any domain.
.TP
.BR class , " c
Valid if the value matches the
.B local.class
configuration.
Class must be manually set using
.BR "yadm config local.class <class>" .
See the CONFIGURATION section for more details about setting
.BR local.class .
.TP
.BR distro , " d
Valid if the value matches the distro.
Distro is calculated by running
Expand All @@ -495,21 +510,6 @@ Valid if the value matches the architecture.
Architecture is calculated by running
.BR "uname -m" .
.TP
.BR class , " c
Valid if the value matches the
.B local.class
configuration.
Class must be manually set using
.BR "yadm config local.class <class>" .
See the CONFIGURATION section for more details about setting
.BR local.class .
.TP
.BR hostname , " h
Valid if the value matches the short hostname.
Hostname is calculated by running
.BR "uname -n" ,
and trimming off any domain.
.TP
.B default
Valid when no other alternate is valid.
.TP
Expand Down

0 comments on commit 2f00dab

Please sign in to comment.