barbican/devstack/barbican-vagrant/install_devstack.sh
Christopher Solis e171dcdca2 Update Devstack deployment and docs
Move the devstack files inside Barbican tree. Also updates
the devstack documentation for installing barbican via
vagrant or manually.

Closes-bug: #1499112
Change-Id: Ifd09aa3c120033f4043d1a0c106a5ea653ee3c68
2015-10-29 14:45:27 -05:00

15 lines
441 B
Bash

#!/bin/bash
export DEBIAN_FRONTEND=noninteractive
sudo apt-get update
sudo apt-get install -y python-pip python-dev libffi-dev libssl-dev git
git clone https://github.com/openstack-dev/devstack.git
git clone https://github.com/openstack/barbican.git
cp barbican/devstack/local.conf.example devstack/local.conf
sudo cp -R devstack/ /opt/stack/
sudo chown -R vagrant:vagrant /opt/stack/
echo "export SERVICE_HOST=\"localhost\"" >> .bashrc