# Pastebin uEOYYkPd #/bin/sh apt-get install -y qemu uuid-runtime curl kpartx git jq pip -v >/dev/null || {apt-get install -y python-pip} pip install argparse Babel>=1.3 dib-utils PyYAML pushd /tmp git clone https://github.com/openstack/octavia.git git clone https://git.openstack.org/openstack/diskimage-builder.git pushd octavia/diskimage-create ./diskimage-create.sh mv amphora-x64-haproxy.qcow2 /tmp popd popd #upload image glance image-create --name amphora-x64-haproxy --visibility private --disk-format qcow2 \ --container-format bare -tags octavia-amphora-image