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 <email@example.com>
Tested-by: Nicolas Norvez <firstname.lastname@example.org>
Reviewed-by: Don Garrett <email@example.com>
1 file changed