Optimize hostname setting in /etc/sysconfig/network