2b99217219
Change-Id: If528c06d9d5ff84d9d7df8ce946a46012d148417
16 lines
440 B
Bash
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
|