e1bc989c2c
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
14 lines
406 B
Bash
Executable File
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
|