wait for VM up before attempting ssh

Change-Id: I1c0dd064c94c1c1260cdbb5e23c4cc0c66ae64d6
Merge "wait for VM up before attempting ssh"