Fix ghost names in /etc/hosts

When you change the hostname using fqdn like:

Then /etc/hosts contains invalid aliases:

192.168.3.104 test4.example.com test4 test2 test3

Fix that.
1 file changed