On 09/04/2016 05:32 AM, Walter H. wrote: > what is the correct way? That depends on what release you're using. On CentOS 7, you'd use the "hostnamectl" command. The sysconfig/network file is no longer used for that purpose. Otherwise, consult /usr/share/doc/initscripts/sysconfig.txt