Downloading Pre-Built Images for OpenStack
This is a collection of various OpenStack-ready images of different distributions and operating systems.
- Fedora cloud images
- CentOS 7 images
- CentOS 6 images
- Ubuntu cloud images
- RHEL 7 image (Requires RHEL subscription)
- RHEL 6 image (Requires RHEL subscription)
- Windows Server 2012 test image
- openSUSE cloud images
- Debian cloud images
- See also the oz-image-build list on Github
- The OpenStack Community App Catalog includes lots of OpenStack-ready Glance images
Importing Images into Glance
You can load an image from the command line with glance, e.g.,:
$ wget https://www.mirrorservice.org/sites/dl.fedoraproject.org/pub/fedora/linux/releases/23/Cloud/x86_64/Images/Fedora-Cloud-Base-23-20151030.x86_64.qcow2 $ glance --os-image-api-version 2 image-create --name 'Fedora-23-x86_64' --disk-format qcow2 --container-format bare --file Fedora-Cloud-Base-23-20151030.x86_64.qcow2
or go to the 'Images and Snapshots' tab in your OpenStack dashboard to add images via the GUI.
See the glance documentation for more details about the glance command line tools.
Building Your Own Images
- Upstream has good guidance on various methods for doing this here
- Also see Creating custom images for OpenStack
- Building a Windows Image for OpenStack
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