hostnamectl

Fedora 18 and Host Name Dashes

I ran into an interesting problem today when installing the newly released Fedora 18. It was quite annoying, so I wanted to document it here. Using the new installer, I configured my computer’s host name to subdomain.domain.com on the network setup page. After I finished the installation, I noticed my host name was still the default localhost.localdomain. I tried the usual tricks to set the host name, but all the following tactics failed: