Setting hostname from dhcp on Fedora 17
I had my FC17 machine configured to obtain its hostname from DHCP, and it was working fine. yesterday I ran a yum update and updated my machine. After a reboot, the hostname was back to localhost. I do not remember how I configured this before. can anybody help me resolve this issue.
Thanks -Todd |
Your hostname should be defined in your /etc/sysconfig/network file with the HOSTNAME variable. If you just want it set to something and have it stay static that is the place to change it. You can also add a DHCP_HOSTNAME variable to your /etc/sysconfig/network-scripts/ifcfg-eth0 file.
|
All times are GMT -5. The time now is 07:03 PM. |