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

sudo apt-get install cloud-image-utils

git clone https://git.openstack.org/openstack-dev/devstack

pushd devstack

# 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

popd

cp devstack-local.conf devstack/local.conf
cp devstack-local.sh devstack/local.sh

pushd devstack

./stack.sh

popd