Robustify starting a VM to ensure it is ssh-able.
This CL adds the logic from retry_until_ssh in cros_vm_lib.sh 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
Tested-by: Chris Sosa <firstname.lastname@example.org>
Reviewed-by: Don Garrett <email@example.com>
Commit-Queue: Chris Sosa <firstname.lastname@example.org>
1 file changed