devinstall_test: Use 10.0.2.2 as binhost's IP
Avoid a conflict between qemu's networking and the host's IP address
when the latter happens to be in the 10.0.2.* range. The dev_install
requests from the guest to, say 10.0.2.219, were handled by qemu itself
and not actually passed to the host.
Forcing the guest to send requests to 10.0.2.2 instead will now ensure
that it always points to the host.
Note: existing cros lint errors not fixed
TEST=cros tryjob --swarming novato-release-tryjob
TEST=cros tryjob novato-release-tryjob
TEST=local test on novato image ./devmode-test/devinstall_test.py ...
Commit-Ready: Nicolas Norvez <firstname.lastname@example.org>
Tested-by: Nicolas Norvez <email@example.com>
Reviewed-by: Don Garrett <firstname.lastname@example.org>
1 file changed