Robustify starting a VM to ensure it is ssh-able.

This CL adds the logic from retry_until_ssh in in
in crosutils. This is added there and needs to be added here because
when sshing into a VM while a machine is under heavy load ssh can hang
due to an SSH bug.

TEST=Ran it multiple times + pyflakes + pylint

Change-Id: I0228a540eb531b41f9e69e3e5a4f8df416da1935
Tested-by: Chris Sosa <>
Reviewed-by: Don Garrett <>
Commit-Queue: Chris Sosa <>
1 file changed