6.3. Configuring Host Names Using hostnamectl Red Hat Enterprise Linux 7 | Red Hat Customer Portal

Filed under: everything is more complicated than you think. I used to think I knew how to change the hostname of my robot. Well not so fast. Apparently there are various tools and daemons who make it their business to "reverse" certain changes that for some reason they deem necessary. Or something.