hoatname command should be shortname, /etc/hostname should be fqdn