[libvirt-users] How to use virt-install and http to install openbsd VM in KVM?
Li, David
LiD at cloudshield.com
Wed Nov 30 15:10:44 UTC 2011
Hi,
Not quite sure if this is the right forum for this question.
My requirement is to http boot openbsd in KVM. This works fine with RHEL6 guest install but not with OpenBSD.
I loop mounted the openbsd installer on the http server. My Http server directory looks like:
[root at uefiserver vm-openbsd]# ll
total 5
drwxr-xr-x 3 root kmem 2048 Aug 17 09:35 5.0
drwxr-xr-x 2 root kmem 2048 Aug 17 09:35 etc
-r--r--r-- 1 root root 82 Aug 17 09:35 TRANS.TBL
My browser can see this directory no problem.
And KVM output:
[root at lid-hs22-2 ~]# virt-install --hvm --connect qemu:///system --network=bridge:br0 --location=http://10.10.36.134/vm-openbsd/ --name=vm5-openbsd --ram=2048 --vcpus=2 --os-type=unix --file=/var/lib/libvirt/images/vm5-openbsd.img --file-size=20
ERROR Error creating cdrom disk: Could not find an installable distribution at 'http://10.10.36.134/vm-openbsd/'
The location must be the root directory of an install tree.
[root at lid-hs22-2 ~]#
IS this supported? Did I use the right semantics?
Thanks.
- David
More information about the libvirt-users
mailing list