Created attachment 753525 [details] packaging.log Description of problem: I use following command to install new VM from partial repository: sudo virt-install --name test --ram 1536 --disk pool=default,size=10 --location http://download.eng.brq.redhat.com/pub/fedora/fedora-alt/stage/19-Beta-RC4/Fedora/x86_64/os/ --initrd-inject gnome.ks --extra-args "ks=file://gnome.ks" Without the kickstart file, all works well: INFO packaging: configuring base repo DEBUG packaging: adding yum repo anaconda with baseurl http://download.eng.brq.redhat.com/pub/fedora/fedora-alt/stage/19-Beta-RC4/Fedora/x86_64/os/ and mirrorlist None ERR packaging: base repo (url/http://download.eng.brq.redhat.com/pub/fedora/fedora-alt/stage/19-Beta-RC4/Fedora/x86_64/os/) not valid -- removing it INFO packaging: using default repos from local yum configuration INFO packaging: gathering repo metadata DEBUG packaging: getting repo metadata for fedora DEBUG packaging: getting repo metadata for updates-testing DEBUG packaging: getting repo metadata for updates But when I use kickstart file with no install method nor repo command specified, anaconda won't fall back to default repositories. I tried to add "repo --name=fedora" to .ks file, but the result is still the same. INFO packaging: updating base repo INFO packaging: configuring base repo DEBUG packaging: adding yum repo anaconda with baseurl http://download.eng.brq.redhat.com/pub/fedora/fedora-alt/stage/19-Beta-RC4/Fedora/x86_64/os/ and mirrorlist None ERR packaging: base repo (url/http://download.eng.brq.redhat.com/pub/fedora/fedora-alt/stage/19-Beta-RC4/Fedora/x86_64/os/) not valid -- removing it DEBUG packaging: disabling repo fedora DEBUG packaging: disabling repo updates-testing DEBUG packaging: disabling repo updates INFO packaging: gathering repo metadata I think I found the part where anaconda disables the repositories[1], and it seems like this is intended behavior, but Anaconda's wiki[2] says that repos from /etc/anaconda.repos.d should be used by default. [1]: https://git.fedorahosted.org/cgit/anaconda.git/tree/pyanaconda/packaging/yumpayload.py?id=33db7ad5a7c86d743fe4893a46ac5d91ce83cae5#n471 [2]: http://fedoraproject.org/wiki/Anaconda/Kickstart#repo Version-Release number of selected component (if applicable): Anaconda 19.30-1 How reproducible: 100% Steps to Reproduce: 1. Prepare kickstart file, don't specify install method or repo 2. Launch installation using partial repository in inst.repo argument and use the kickstart Actual results: Anaconda disables default repositories because the repository in inst.repo is not complete. Expected results: Anaconda should fall back to default "Closest mirror", just like it does in non-automated mode.
Created attachment 753526 [details] Kickstart file I used.
*** This bug has been marked as a duplicate of bug 967531 ***