Set a hostname and the hosts