only put hostname in /etc/headnodes