Looking for a Fedora 18 qcow2 image to use on openstack? I’ve put one here. Cloud init is configured to set the ssh public key for the user “fedora” who has full sudo access.
Simply download the file and use glance add
$ glance -d add name="Fedora 18" disk_format=qcow2 container_format=bare is_public=true < f18-x86_64-openstack-sda.qcow2
If you’d prefer to build your own one, I’ve included the kickstart file simply download it and run the commands
$ yum install -y appliance-tools qemu-img # I did this on Fedora 17
$ appliance-creator --name f18-x86_64-openstack --format qcow2 --config=f18-x86_64-openstack.ks
$ qemu-img convert -f qcow2 -c -O qcow2 f18-x86_64-openstack/f18-x86_64-openstack-sda.qcow2 f18-x86_64-openstack-sda.qcow2
The details above are a slightly altered version of a Fedora 17 image provided by Daniel Berrange http://berrange.fedorapeople.org/images/
See also the Semi-Official Fedora 18 downloadable cloud images:
http://lists.fedoraproject.org/pipermail/cloud/2013-January/002192.html
Hi,
I have a fedora 15 image in .img format.I want to boot the image in openstack.Can you tell me what all changes in the image I have to do to get it booted properly in openstack.
Thanks in advance.
Regards,
Pratt
You could try using
qemu-img convert -O qcow2 ….
to create a qcow2 image