hostname
set the host name
The check compares name with the static name in /etc/hostname and with the running name. When one of them differs, the step sets the name.
Keys
| Key | Type | Default | Meaning |
|---|---|---|---|
name | string | required | short name, such as mail |
hostname.name
string, required
Short name, such as mail.
Example
- hostname:
name: mail