Home » Questions » Computers [ Ask a new question ]

Why is my hosts file reseting on reboot?

Why is my hosts file reseting on reboot?

I've setup a brand new linux machine with Ubuntu 8.04. I've added a few hosts in /etc/hosts but upon reboot of the OS, the file is reset to its original content. The original content looks like:

Asked by: Guest | Views: 232
Total answers/comments: 1
Guest [Entry]

"Actually, the answer is in my question, I just deleted the comment and the file is not overwritten on reboot, I deleted the following line:

# Auto-generated hostname. Please do not remove this comment."