This repository contains diskimage-builder elements for building images for
Cluster API provider for OpenStack.
These images take a different approach than the upstream
image-builder
project in that they are built using diskimage-builder and not Packer.
These images were primarily built to be consumed by the
Cluster API driver for Magnum,
however, they will likely generate qcow2 images that should work directly
with the Cluster API provider for OpenStack.
To build the images, you will need to have diskimage-builder installed. You
can install it using pip:
pip install diskimage-builderOnce you have diskimage-builder installed, you can build the images by
exporting the ELEMENTS_PATH and running the following command:
export ELEMENTS_PATH=$PWD/elements
export DIB_RELEASE=jammy
export DIB_KUBERNETES_VERSION=1.27.15
disk-image-create vm ubuntu kubernetesYou can add any other elements that you require for your image by adding them to the command.