Add hostname entry to /etc/hosts.