Correct get-pip.py url for python2.7 78/118978/1
authorKonrad Bańka <k.banka@samsung.com>
Tue, 9 Mar 2021 16:08:47 +0000 (17:08 +0100)
committerKonrad Bańka <k.banka@samsung.com>
Tue, 9 Mar 2021 16:08:47 +0000 (17:08 +0100)
It turned out prior url has been further changed and pip is unavailable
by it.

Issue-ID: MULTICLOUD-1255
Signed-off-by: Konrad Bańka <k.banka@samsung.com>
Change-Id: Id5c9285f74bda17c28ac56de8a847ab74005beba

kud/hosting_providers/vagrant/installer.sh
kud/hosting_providers/vagrant/setup.sh

index 8211fa3..2a15de3 100755 (executable)
@@ -44,7 +44,7 @@ function _install_pip {
         sudo -E pip install --no-cache-dir --upgrade pip
     else
         sudo apt-get install -y python-dev
-        curl -sL https://bootstrap.pypa.io/2.7/get-pip.py | sudo python
+        curl -sL https://bootstrap.pypa.io/pip/2.7/get-pip.py | sudo python
     fi
 }
 
index 0f5442a..db6a732 100755 (executable)
@@ -176,7 +176,7 @@ sudo modprobe vhost_net
 
 ${INSTALLER_CMD} "${packages[@]}"
 if ! which pip; then
-    curl -sL https://bootstrap.pypa.io/2.7/get-pip.py | sudo python
+    curl -sL https://bootstrap.pypa.io/pip/2.7/get-pip.py | sudo python
 else
     sudo -H -E pip install --no-cache-dir --upgrade pip
 fi