|
|
|
@ -496,7 +496,7 @@ See the CONFIGURATION section for more details about setting
|
|
|
|
|
.BR hostname , " h
|
|
|
|
|
Valid if the value matches the short hostname.
|
|
|
|
|
Hostname is calculated by running
|
|
|
|
|
.BR "hostname" ,
|
|
|
|
|
.BR "uname -n" ,
|
|
|
|
|
and trimming off any domain.
|
|
|
|
|
.TP
|
|
|
|
|
.B default
|
|
|
|
@ -629,7 +629,7 @@ During processing, the following variables are available in the template:
|
|
|
|
|
------------- ------------- --------------------------
|
|
|
|
|
yadm.class YADM_CLASS Locally defined yadm class
|
|
|
|
|
yadm.distro YADM_DISTRO lsb_release -si
|
|
|
|
|
yadm.hostname YADM_HOSTNAME hostname (without domain)
|
|
|
|
|
yadm.hostname YADM_HOSTNAME uname -n (without domain)
|
|
|
|
|
yadm.os YADM_OS uname -s
|
|
|
|
|
yadm.user YADM_USER id -u -n
|
|
|
|
|
yadm.source YADM_SOURCE Template filename
|
|
|
|
|