vmtests will use the host-configured apt proxy verbatim even if it points at localhost
Bug #1833575 reported by
Dan Watkins
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
curtin |
Triaged
|
Low
|
Dan Watkins |
Bug Description
I run apt-cacher-ng on my dev machine so that my package builds etc. are faster. The curtin vmtests code picks up my configured apt proxy and passes it in to the VMs under test.
This, unsurprisingly, causes all my test runs to fail because the launched VMs aren't running an apt proxy at localhost:3142.
To post a comment you must log in.
My preferred solution here would be to rewrite localhost to something that would work in the VMs once launched, but that's likely to be hard. If we can't do that, then I think we should just not configure the proxy if it contains "localhost" (and perhaps emit a warning).