← Back to team overview

openstack team mailing list archive

Image management when img has created by libvirt

 

Hi,
I'm new on openstack, and I hope that this is not a stupid question.

One of my students has created a Fedora 17 image with the following procedure:

1. virt-install -l http://download.fedoraproject.org/pub/fedora/linux/releases/16/Fedora/x86_64/os --ram 1024 --disk path=./images/olio-f16_64-$VMM.img,size=10 --name olio-f16_64 --graphics vnc,password=qweasdzxc,port=5904,listen=0.0.0.0 --debug


2. Save XML installation file produced in output by the virt-install
   program
   $ vi images/olio-f16_64-$VMM-install.xml
3. Save XML boot file produced in output by the virt-install program
   $ vi images/olio-f16_64-$VMM-boot.xml


When a VM image is already available, use it along with a previously create XML file:

1. Create the guest VM
   $ sudo virsh create images/olio-f16_64-$VMM-boot.xml


and so on...

Now I have an image file called olio-f17_64-xen.img, and I would like to put it available on my cloudstack. Since in the docs I saw procedures for KVM and for VMbuilder, I would like to know how I can upload the image created with libvirt in openstack.

Thanks for your help.
M

Follow ups