Bug 239971 - virt-install is unable to handle --location
Summary: virt-install is unable to handle --location
Alias: None
Product: Fedora
Classification: Fedora
Component: python-virtinst
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Daniel Berrange
QA Contact: Brian Brock
Depends On:
TreeView+ depends on / blocked
Reported: 2007-05-13 17:03 UTC by Robert Scheck
Modified: 2007-11-30 22:12 UTC (History)
0 users

Clone Of:
Last Closed: 2007-05-15 20:26:32 UTC

Attachments (Terms of Use)

Description Robert Scheck 2007-05-13 17:03:26 UTC
Description of problem:
I'm asked for the image, even I gave it via parameter:

[root@rsc ~]# virt-install --name kvm --file /home/robert/kvm.img \
> --file-size 0.7 --bridge eth0 --vnc --accelerate \
> --connect qemu:///system --paravirt --location /home/robert/boot.iso \
> --ram=256
What would you like to use for the virtual CD image? 

Version-Release number of selected component (if applicable):

How reproducible:
Everytime, see above.

Actual results:
virt-install is unable to handle --location

Expected results:
virt-install should be able to handle --location correct

Comment 1 Daniel Berrange 2007-05-13 21:47:19 UTC
virt-install is actually part of the python-virtinst package, but anyway,
traditionally when we only supported Xen we used  --location for specifying 
http/ftp/nfs URLs for paravirt installs and --cdrom for specifying ISO images /
CD devices for fullyvirt installs. With KVM it is possible to do installs off
both URLs and local ISOs, so we're obsoleting the --cdrom arg & using --locatio
for all. This fix should be present in the latest python-virtinst-0.103.0-3.fc7
that hit rawhide this weekend, so please re-test to confirm.

Comment 2 Robert Scheck 2007-05-15 20:26:32 UTC
Confirmed to work in 0.103.0-3 - thanks.

Note You need to log in before you can comment on or make changes to this bug.