Make boot-elements wait until hostkeys are generated.

SSH hostkeys are not generated until a few seconds after sshd
starts. See : https://bugs.launchpad.net/diskimage-builder/+bug/1124593

This change causes boot-elements to stall until ssh is truly ready.