aboutsummaryrefslogtreecommitdiff
path: root/deploy-devstack
blob: 577183ce50b40314b3c2606d4f8d79dd8fabd5ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash

sudo apt-get install cloud-image-utils

rm -rf devstack

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

./stack.sh

popd