You are not logged in.
Pages: 1
I have defined in my /etc/rc.conf my desired hostname Cyrodiil' and it also comes up in the boot output as "Setting hostname to Cyrodiil", however, when I type the command 'hostname', it outputs the hostname which I used ages ago, and not Cyrodiil.
I can manually set the hostname with the command: 'hostname Cyrodiil', but this only holds out until I reboot again.
Am I missing something?
Solved: It did not have anything to do with /etc/hosts. It seems that the ssh server authentication keys have hardcoded within them the hostname and this caused the reverting back to the old hostname. I have regenerated the authentication keys and now the new hostname is now correct, even after reboot.
Last edited by OutOfPhase (2008-11-27 14:26:40)
Offline
Have you tried escaping the apostrophe? or removing it altogether for that matter?
That might screw things up a bit...
Stand back, intruder, or i'll blast you out of space! I am Klixon and I don't want any dealings with you human lifeforms. I'm a cyborg!
Offline
What does /etc/hosts look like?
Offline
Issue solved, see OP. Thanks all.
Offline
Pages: 1