aboutsummaryrefslogtreecommitdiff
path: root/deploy-devstack
blob: ee140becaa95d742d0ac5256e3a858c49ecf693c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/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