12.1. Configuring the system hostname

Systemd reads /etc/hostname to determine which hostname should be set.

Create the /etc/hostname file and enter a hostname by running:

echo "[clfs]" > /etc/hostname

[clfs] needs to be replaced with the name given to the computer. Do not enter the Fully Qualified Domain Name (FQDN) here. That information will be put in the /etc/hosts file in the next section.