Salt-Cloud for Fedora fails to set hostname properly (BUG)

  • Posted June 10, 2014

On deployment, /etc/hostname gets set to “localhost” instead of the proper hostname value. This isn’t a problem for CentOS or Ubuntu, only Fedora (I’m testing 20). The value is definitely coming over since it properly set in /etc/sysconfig/network.

Just wanted to let you know, hopefully get this fixed.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

This is a general issue with all Fedora images, as far as I can tell, and has nothing to do with Salt-Cloud.

The hostname is never set for any droplets created from Fedora images (19 and 20).

Thanks for pointing that out! I’ll pass this along to someone on the engineering team.