From 202e6038643e9835affd2f9f2a1934f8c3dda726 Mon Sep 17 00:00:00 2001
From: Jean-Philippe Evrard <jean-philippe.evrard@rackspace.co.uk>
Date: Wed, 23 Aug 2017 11:04:51 +0000
Subject: [PATCH] Don't reinstall all pins

Bootstrap ansible should already do the needful, and we
shouldn't help him bootstrap, because we already did
pre-flight checks that are technically sufficient for it to
run.

Change-Id: I910eb4f0bd4d3eeef52885fcf30aa865634fb105
---
 leap-upgrades/lib/functions.sh | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/leap-upgrades/lib/functions.sh b/leap-upgrades/lib/functions.sh
index 5bf07e08..553ba987 100644
--- a/leap-upgrades/lib/functions.sh
+++ b/leap-upgrades/lib/functions.sh
@@ -118,11 +118,6 @@ function system_bootstrap {
     done
 
     pushd "$1"
-      # Install the releases global requirements
-      if [[ -f "global-requirement-pins.txt" ]]; then
-        pip install --upgrade --isolated --force-reinstall --requirement global-requirement-pins.txt
-      fi
-
       # Install ansible for system migrations
       scripts/bootstrap-ansible.sh
     popd