diskimage-builder/elements/devstack/install.d/53-devstack
Devananda van der Veen 9371411ddb updating devstack element to reference incubator
devstack element points to github:tripleo/incubator, instead of demo.

Also, the element now pulls devstack into the image, rather than relying
on incubator/scripts/demo to pull it down after the image starts.

Change-Id: I878edcc8f5b1a509b14cadfb5fb4c33571a7f312
2012-12-13 02:31:26 -08:00

12 lines
282 B
Bash
Executable File

#!/bin/bash
# Initialize devstack in the bootstrap image
set -e
set -o xtrace
apt-get -y install git
if [ -n "$http_proxy" ]; then
sudo -Hiu stack git config --global http.proxy $http_proxy
fi
sudo -Hiu stack git clone -b baremetal-dev https://github.com/tripleo/devstack.git