#!/bin/bash sudo apt-get install cloud-image-utils rm -rf devstack export GIT_DEPTH=1 git clone https://git.openstack.org/openstack-dev/devstack pushd devstack cp ../devstack-local.conf ./local.conf cp ../devstack-local.sh ./local.sh chmod +x local.sh # a few patches needed to run correctly on arm64 trusty sed -i 's/install_package qemu-kvm/install_package qemu-system/' ./lib/nova_plugins/functions-libvirt sed -i 's/install_package python-guestfs/# install_package python-guestfs/' ./lib/nova_plugins/functions-libvirt time ./stack.sh popd