aboutsummaryrefslogtreecommitdiff
path: root/deploy-devstack
blob: cdd044a911d49e1f0c7b12c305274fb9903379f1 (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

time ./stack.sh

popd