On 03/27/2011 10:57 AM, Ralf Corsepius wrote:
And how to tweak /etc/sysconfig/network-scripts/ifcfg-* (and/or
/etc/sysconfig/network) for static IPs such that NM sets
hostname/domainname correctly?
I have never got this working correctly.
In all cases, I've tried either "hostname -f" or "hostname" did
not work.
https://bugzilla.redhat.com/show_bug.cgi?id=648725#c23
Sounds like NM is out of the 'hostname setting' business. You should be
able to edit your /etc/hosts manually and NM will not change it.
-Jeff