By JL06
I had created a droplet before with an image of Ubuntu 14.04 x64 but now that I create one appears this message when I see the file /etc/hosts
# Your system has configured 'manage_etc_hosts' as True.
# As a result, if you wish for changes to this file to persist
# then you will need to either
# a.) make changes to the master file in /etc/cloud/templates/hosts.tmpl
# b.) change or remove the value of 'manage_etc_hosts' in
# /etc/cloud/cloud.cfg or cloud-config from user-data
I didn’t set any configuration and I checked that in the older droplet that I have those files don’t exists. Does the image changed? is there another change in it?
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!
I’m glad I found this as well. It would be great to fix this soon.
I was surprised to see this message in /etc/hosts and I didn’t think I could change my hostname until I found this message.
Hi, I am having trouble with this problem. It doesn’t seem that my /etc/hosts file is working. I tried the above instructions with no changes. Can anyone offer any other instruction? Appreciate the help.
Hello All,
In my experience you must either be logged in as ROOT. Login to the console provided by DigitalOcean and you will be allowed to edit all those files with that message.
Not sure why it does this though. I have restricted SSH setup and I am using an added user maybe that is the issue.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.