Image resources

Downloading Pre-Built Images for OpenStack

This is a collection of various OpenStack-ready images of different distributions and operating systems.

Importing Images into Glance

You can load an image from the command line with glance, eg:

$ wget
$ glance --os-image-api-version 2 image-create --name 'Fedora-22-x86_64' --disk-format qcow2 --container-format bare --file Fedora-Cloud-Base-22-20150521.x86_64.qcow2 

… or go to the 'Images and Snapshots' tab in your OpenStack dashboard to add them via the gui.

See the glance documentation for more details about the glance command line tools.

Building Your Own Images

Alternatively, one can use diskimage-builder, which is available in the RDO repository:

$ yum install diskimage-builder
$ disk-image-create -a amd64 fedora vm -o fedora-image.qcow2

Note: using the vm element as shown above is currently required for EPEL. Otherwise, one may instead not specify the vm element and extract the kernel and ramdisk as documented here:

The resulting image file can be imported into glance similar to any other image:

$ glance image-create --name F20-x86_64 --disk-format qcow2 --container-format bare --is-public True < fedora-image.qcow2