> has anyone else found that hostname doesnt set correctly in 7.0 / 7.1
> either ?? I can't get it to work anyway ...
>> typing: "hostname thallophytic" sets it while the machine is running...
> but once i reboot it reverts back to localhost.localdomain
>> i manually editted /etc/hostname and /etc/hosts also but got the same
> result ...
As far as I know, the hostname is stored in
/etc/sysconfig/network
with a setting such as
HOSTNAME=thallophytic
Setting it on the command line will only change it for that session
- when it reboots, it will read the hostname from the above
file.
Regards,
Cormac.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!