Shell script `default/set-hostname'

Set the server hostname to the server name.

grep -q -F {{ server.name }} /etc/hosts || echo '127.0.0.1' {{ server.name }} | sudo tee -a /etc/hosts sudo hostnamectl set-hostname {{ server.name }}