Description of problem: virt-install tries to verifiy that a URL passed to --location is useable by trying to connect to it. If a proxy like apt-cacher-ng is configured, that doesn't return directory listings, this will fail, even if requests for files under that directory would succeed. Version-Release number of selected component (if applicable): 0.600.3
virtinst has been merged into virt-manager.git. Moving all virtinst bugs to the virt-manager component.
We should add an option like --force-url-distro, which just assumes that the passed --os-variant value is the distro we are trying to fetch. It's still not that easy, because within each distro category we still probe trees to figure out which layout they are using. Maybe we could swap out the hasFile implementation in this case to just download the file rather than check the directory listing.
Created attachment 931592 [details] virt-manager-ignore-error-403-on-directories.patch I was also affected by this limitation and would like to suggest the attached patch. Could you consider it for upstream inclusion? Thanks.
Sorry Leonardo, I missed your patch comment :/ I actually just applied a patch upstream that drops the initial directory listing check. commit 24faf867507484323fea285bdf4097c545ccf71b Author: Gabriel de Perthuis <g2p.code> Date: Mon Dec 8 22:43:38 2014 +0100 URL installs: remove hasFile("") check I think that should fix things for yall, so closing this bug. If not, please reopen and explain where things are still failing