Setting a Hostname

To set a custom hostname for your system, use the following Butane config to write to /etc/hostname:

variant: fcos
version: 0.15.0
storage:
  files:
    - path: /etc/hostname
      mode: 0644
      contents:
        inline: myhostname

Once booted, you can also verify that the desired hostname has been set using hostnamectl.