Report this

What is the reason for this report?

Why the system Ubuntu 14.04 is configured 'manage_etc_hosts' as True by default?

Posted on October 9, 2014
JL06

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!

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.

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.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.