---
title: Setting the Hostname
weight: 124
---

You can set the hostname of the host using [cloud-config]({{< baseurl >}}/os/v1.x/en/installation/configuration/#cloud-config). The example below shows how to configure it.

```yaml
#cloud-config
hostname: myhost
```
