Creating an OpenStack image
We can now create our custom OpenStack image, however, it is advisable to do so outside of our OpenStack installation. Also, you need to make sure that you do not have VirtualBox, Fusion, or similar virtualization technology, running on the system where you will be creating your image. We will be creating a KVM-based, CentOS image.
Getting ready
To begin with, ensure you are logged in to a Linux system that is not your OpenStack environment.
On Ubuntu, install the kvm/qemu
and libvirt
libraries:
sudo apt-get install qemu-kvm libvirt-bin virt-manager
Start the libvirt-bin
service with the following command:
sudo start libvirt-bin
On CentOS or RHEL:
sudo yum groupinstall "Virtualization" "Virtualization Platform" sudo chkconfig ...
Get OpenStack: Building a Cloud Environment now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.