centos 6 fix for hostname -f detection - on centos 6 the hostname -f detection will give error unknown host on dummy not FQDN based hostnames so need to fallback to hostname command without -f when unknown host errror is detected. example if you run...