Description of problem: This is a "clone" of bug 790348. Anaconda developers stated that users should use repo= boot argument when providing a link to a full repository (including yum package repository), and stage2= boot argument when providing a link to a partial repository (without yum package repository). Unfortunately virt-install always passes repo= arguments, so partial repositories don't work with it. Partial repositories are used for testing Fedora development composes, or they can be used for PXE/VM spinning when you want to store just the anaconda installer locally, but not the whole yum repo. Please find some way how to enable partial repository support inside anaconda. Some of possible ways were mentioned in bug 790348 comment 33. Another possible way is to talk to anaconda developers and convince them to change repo= behavior. But they don't seem to be inclined to go that way. Version-Release number of selected component (if applicable): python-virtinst-0.600.1-1.fc16.noarch Steps to Reproduce: 1. virt-install --name Foo --ram 1024 --disk pool=default,size=10 --location http://dl.fedoraproject.org/pub/alt/stage/17.TC3/Fedora/i386/os/ (or use some another partial repository)
Still not ideal for the reasons outlined here: https://bugzilla.redhat.com/show_bug.cgi?id=790348#c21 But you can make it work with virt-install, probably want to turn it into a wrapper script though. wget http://dl.fedoraproject.org/pub/alt/stage/18-Beta-TC6/Fedora/x86_64/os/images/pxeboot/initrd.img -O ~/.virtinst/boot/initrd.img wget http://dl.fedoraproject.org/pub/alt/stage/18-Beta-TC6/Fedora/x86_64/os/images/pxeboot/vmlinuz -O ~/.virtinst/boot/vmlinuz sudo virt-install --boot kernel=$HOME/.virtinst/boot/vmlinuz,initrd=$HOME/.virtinst/boot/initrd.img,kernel_args="stage2=http://dl.fedoraproject.org/pub/alt/stage/18-Beta-TC6/Fedora/x86_64/os/" --os-variant fedora17 ... Closing as WONTFIX, but reopen if that workaround isn't sufficient and maybe we can figure something out.
I believe anaconda in Fedora 18 now supports inst.repo= with incomplete repositories (just LiveOS/ directory, but no Packages/). They fall back to online repos in that case. If virt-install passes inst.repo= argument, then it should work seamlessly.
indeed, --location seems to just work now when pointing to that URL