diff options
author | Ritu Sood <ritu.sood@intel.com> | 2021-01-29 10:31:54 -0800 |
---|---|---|
committer | Ritu Sood <ritu.sood@intel.com> | 2021-01-29 10:31:54 -0800 |
commit | 7c6084bc79697852367a039b3e40d369fbe4b94c (patch) | |
tree | 9b5ff40988c96b626de8859581eb75f24b11beec | |
parent | 33ec73cffb875eb8cc1fbad8d33f1385621250ba (diff) |
get-pip.py error on Python 2.7
invalid syntax error when KUD is deployed
sys.stderr.write(f"ERROR: {exc}") SyntaxError: invalid syntax
Issue-ID: MULTICLOUD-1255
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
Change-Id: Ia4ecbad5735617a5606cbce2ed93a58cb7322cb5
-rwxr-xr-x | kud/hosting_providers/vagrant/installer.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kud/hosting_providers/vagrant/installer.sh b/kud/hosting_providers/vagrant/installer.sh index 43638b4f..8211fa31 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/get-pip.py | sudo python + curl -sL https://bootstrap.pypa.io/2.7/get-pip.py | sudo python fi } |