Hi Guys,

I have a RHEL6 KVM and would like to install an OpenBSD VM using http. I
downloaded install50.iso onto my http server and could see it using my
browser. Then I followed the instructions like this on the KVM:


virt-install --hvm --connect qemu:///system --network=bridge:br0
--location=http://10.10.36.134/vm-openbsd/install50.iso --name=vm4-openbsd
--ram=2048 --vcpus=2 --os-type=unix
--file=/var/lib/libvirt/images/vm4-openbsd.img --file-size=20

where 10.10.36.134 is my http server and "vm-openbsd" is where I put my
install50.iso.  This gave me an error:


ERROR    Error creating cdrom disk: Could not find an installable distribution
at 'http://10.10.36.134/vm-openbsd/install50.iso'
The location must be the root directory of an install tree.


So I though I would loop mount my iso image on the http server but still
doesn't work with the same error.

This works If I copy the iso onto my kvm machine under /tmp and install like
this:


virt-install --hvm --connect qemu:///system  -c /tmp/install50.iso
--name=vm4-openbsd --ram=2048 --vcpus=2 --os-type=unix
--file=/var/lib/libvirt/images/vm4-openbsd.img --file-size=20


So my question is if anyone knows exactly how to do this using http in
virt-install.

Many thanks!


- David

Reply via email to