The openstack-imagemaker script simplifies the process of creating and uploading an image to OpenStack.
It invokes the QEMU KVM commands to create the image file, and to run a virtual machine instance with it, so the operating system can be installed onto it. It also runs the OpenStack command to upload the image.
While those steps can be performed directly using the QEMU KVM and OpenStack commands, this script invokes them with the options needed for common tasks. Therefore, the user does not have to remember their complicated options.
Create the image, prepare it and upload it:
$ openstack-imagemaker create --iso os-install-disc.iso image.qcow2
$ openstack-imagemaker run image.qcow2 # optional
$ openstack-imagemaker upload --name "My new image" --min-disk 10 image.qcow2
During the preparation step, the operating system is installed onto the image. That step is performed over a VNC session, and is similar to installing the operating system onto any physical or virtual machine.
The utility is documented in:
- openstack-imagemaker manual page
See the doc directory for details on how to use it:
This utility is distributed in the hope that they will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. See the GNU General Public License for more details.
Please submit issues using the repository's GitHub issues