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

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

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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.