Make build more stable by waiting for ssh before continuing, and will fail the build if this does not succeed
Fix population of /etc/hosts