Changing your hostname /etc/hostconfig gives mixed results, sometimes it works, sometimes it doesn't, and there was no apparent explanation. Here's one basic but helpful thing to remember ... when you're monkeying around in hostconfig, you need to remove the hyphens that encompass the variable, for instance...
HOSTCONFIG=-NEWHOSTNAME-will not work; the system defaults to "localhost." Using the following should allow you to use the new hostname without the localhost reoccuring:
HOSTCONFIG=NEWHOSTNAMEOn my system, this particular scenario worked, mileage may vary.
•
[5,412 views]

