barbican/devstack/barbican-vagrant/install_devstack.sh
zhulingjie 2b99217219 Replace git.openstack.org URLs with opendev.org URLs
Change-Id: If528c06d9d5ff84d9d7df8ce946a46012d148417
2019-05-23 12:50:09 +08:00

16 lines
440 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://opendev.org/openstack/devstack.git
git clone https://opendev.org/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