Make openstack mirror optional.

While we debug mirror creation.

Change-Id: Iae00bacded97d1d59ee3a48c3aa75d6b87708821
Reviewed-on: https://review.openstack.org/24712
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
This commit is contained in:
James E. Blair 2013-03-18 14:28:39 -07:00 committed by Jenkins
parent f708dd6e6a
commit b7ceb913ad

View File

@ -34,13 +34,10 @@ rm -f ~/.pip/pip.conf
if [ "$org" == "openstack" ]
then
echo $org
cat <<EOF > ~/.pydistutils.cfg
[easy_install]
index_url = http://pypi.openstack.org
EOF
cat <<EOF > ~/.pip/pip.conf
[global]
index-url = http://pypi.openstack.org
extra-index-url = http://pypi.python.org/simple
EOF
else
cat <<EOF > ~/.pip/pip.conf