hostname issue, cant change it properly
i have two machine, both are same version rhel6.4
serverB, installed the server by default hostname, localhost.localdomain
hostname -s
localhost
hostname
localhost.localdomain
can i change the hostname without edit /etc/sysconfig/network
because my serverA, i change the hostname during installation.
/etc/sysconfig/network is showing hostname=localhost.localdomain, but when i type hostname, it shows serverA
|