From b7ceb913ad66d8030842507299a4ad6329f0759c Mon Sep 17 00:00:00 2001
From: "James E. Blair" <jeblair@openstack.org>
Date: Mon, 18 Mar 2013 14:28:39 -0700
Subject: [PATCH] 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
---
 modules/jenkins/files/slave_scripts/select-mirror.sh | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/modules/jenkins/files/slave_scripts/select-mirror.sh b/modules/jenkins/files/slave_scripts/select-mirror.sh
index b9ca018f7f..ff6cd89173 100755
--- a/modules/jenkins/files/slave_scripts/select-mirror.sh
+++ b/modules/jenkins/files/slave_scripts/select-mirror.sh
@@ -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