diskimage-builder/flavours/devstack/install.d/52-image-toolchain
Darragh Bailey e1bc989c2c Configure git proxy settings and prefer http(s) protocol
Set a proxy for http protocol usage by git, and switch to using
the https:// protocol in preference to git:// to make it easier
to clone from behind firewalls.

Change-Id: I41e809c54f3065d59ca84d83be80b9472361dd9d
2012-12-05 17:28:52 +00:00

14 lines
406 B
Bash
Executable File

#!/bin/bash
# Install the image creation toolchain so folk can create their own images
# (also includes the bootstrap-from-devstack facilities needed until we have
# full image mastering of openstack).
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 https://github.com/tripleo/demo.git