%general-entities; ]> Configuring the system hostname hostname configuring Systemd reads /etc/hostname to determine which hostname should be set. Create the /etc/hostname file and enter a hostname by running: echo "<lfs>" > /etc/hostname <lfs> needs to be replaced with the name given to the computer. Do not enter the Fully Qualified Domain Name (FQDN) here. That information is put in the /etc/hosts file.