Question

Did DigitalOcean change the way hostnames are set for droplets from custom images?

It used to be the droplet’s name, but now it seems to be the original hostname. I’m running on a mountain pile of errors from my droplets because of that uninformed change.

Iaas should be reliable. The smallest of changes on the infrastructure can create a catastrophe for some operations, even more if it’s uninformed.

If that’s now a new policy, please, first manage to inform the developers that hold operations in DO before making changes on how the infrastructure behave, and secondly, always put an option for people that developed in the old assumptions of the infrastructure.

Unfortunately that small, uninformed change will hold my operation back for weeks.

Show comments

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.

Hi there @joseassumpcao,

I had a chat with the support team, and I was informed that the hostnames are generally handled by cloud-init, which in general are pulled from the Droplet name.

It may be pulling this from metadata, but the exact detail would require analyzing (perhaps reviewing the logs at startup) the start-up process to identify what and when is being set.

Cloud-init and boto3 are python packages. I wonder if there is some change to the environment or some dependencies for the cloud-init that changes over that.

In terms of custom images, however, DigitalOcean does not define/specify the behavior. The release of cloud-init software on the Droplet determines that.

Regards, Bobby