Turn stock cloud image into Octavia Amphora image
The purpose of this tool is to take a stock Ubuntu Cloud Image,
apply OpenStack Diskimage-builder elements from OpenStack Octavia,
to retrofit the image so that it is suitable for use as Octavia HAProxy
amphora.
Example Usage:
sudo snap install --classic octavia-diskimage-retrofit
cd /var/snap/octavia-diskimage-retrofit/common/tmp
wget https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img
sudo octavia-diskimage-retrofit \
jammy-server-cloudimg-amd64.img \
ubuntu-amphora-haproxy-amd64.qcow2
NOTE The tool will use KVM acceleration when available.