# 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`](#hostname.name) | string | required | short name, such as mail |

### `hostname.name` {#hostname.name}

string, required

Short name, such as mail.

## Example

```yaml
- hostname:
    name: mail
```
