move init script out of bash command and add fqdn to hosts file so ohai can find it