Monday, June 24, 2013

Set System Hostname on LFS

Run the following command as root:
# echo "HOSTNAME=<lfs>" > /etc/sysconfig/network

(Replace <lfs> with the hostname you wish to use).

Courtesy of:
http://www.linuxfromscratch.org/lfs/view/stable/chapter07/hostname.html

No comments:

Post a Comment