Creating custom images
Users can create custom images of various operating systems that can be used within an OpenStack environment. Tools such as cloud-init
can be installed in the image to provide a method of bootstrapping an instance once it has been deployed.
Note
The use of cloud-init
is beyond the scope of this book. More information can be found at https://cloud-init.io.
Getting ready
To begin, ensure that you are using an operating system that is not the OpenStack environment used throughout this book. Software packages and libraries needed to create images may conflict with the software currently installed, and could result in a broken environment. In this example, we will use a virtual machine configured with Ubuntu 16.04 LTS to create a custom CentOS 7 image.
Note
Configuring a virtual machine with the Ubuntu 16.04 LTS operating system is beyond the scope of this book. A physical server can be used in lieu of a virtual machine, if necessary.
The following packages are prerequisites for...