summaryrefslogtreecommitdiffstats
path: root/kud
diff options
context:
space:
mode:
authorKonrad Bańka <k.banka@samsung.com>2021-03-09 17:08:47 +0100
committerKonrad Bańka <k.banka@samsung.com>2021-03-09 17:08:47 +0100
commit1ae98dd48acbe0450373b8d49282ca54761ff250 (patch)
treee613adb2197390fece1e82b837dcc5994bc4a90b /kud
parent5a382efb6d44399190c63d9d39dbc25069f74f61 (diff)
Correct get-pip.py url for python2.7
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
Diffstat (limited to 'kud')
-rwxr-xr-xkud/hosting_providers/vagrant/installer.sh2
-rwxr-xr-xkud/hosting_providers/vagrant/setup.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/kud/hosting_providers/vagrant/installer.sh b/kud/hosting_providers/vagrant/installer.sh
index 8211fa31..2a15de33 100755
--- a/kud/hosting_providers/vagrant/installer.sh
+++ b/kud/hosting_providers/vagrant/installer.sh
@@ -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
}
diff --git a/kud/hosting_providers/vagrant/setup.sh b/kud/hosting_providers/vagrant/setup.sh
index 0f5442ab..db6a732c 100755
--- a/kud/hosting_providers/vagrant/setup.sh
+++ b/kud/hosting_providers/vagrant/setup.sh
@@ -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