Creating the /etc/sysconfig/network file

Create a new file /etc/sysconfig/network and put the hostname in it by running:



echo "HOSTNAME=lfs" > /etc/sysconfig/network

Replace "lfs" by the name you wish to call your computer. Please not that you should not enter the FQDN (Fully Qualified Domain Name) here. That information will be put in the /etc/hosts file later.