summaryrefslogtreecommitdiffstats
path: root/xci/files
diff options
context:
space:
mode:
authorFatih Degirmenci <fdegir@gmail.com>2018-03-22 20:22:53 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-03-22 20:22:53 +0000
commit8a5d1ef8530b3148a9f218ef36782d1f3b0fba38 (patch)
tree60455b563859cbd5481443e5cf6b45e2a44245ce /xci/files
parent8a1cedaafcf94dbf33757b99f5df741adc205cef (diff)
parent0e1dda4501a6f71112a70bbb6eda034acfaaa147 (diff)
Merge "xci: files: install-lib.sh: Install pip packages as user"
Diffstat (limited to 'xci/files')
-rw-r--r--xci/files/install-lib.sh6
1 files changed, 1 insertions, 5 deletions
diff --git a/xci/files/install-lib.sh b/xci/files/install-lib.sh
index 35a7d629..0ea6f181 100644
--- a/xci/files/install-lib.sh
+++ b/xci/files/install-lib.sh
@@ -163,11 +163,7 @@ function install_ansible() {
PIP=$(which pip)
echo "Using pip: $(${PIP} --version)"
- sudo -H -E ${PIP} -q install --upgrade virtualenv
- sudo -H -E ${PIP} -q install --upgrade pip
- # upgrade setuptools, as latest version is needed to install some projects
- sudo -H -E ${PIP} -q install --upgrade setuptools
- ${PIP} install -q --user --upgrade ansible==$XCI_ANSIBLE_PIP_VERSION
+ ${PIP} -q install --user --upgrade virtualenv pip setuptools ansible==$XCI_ANSIBLE_PIP_VERSION
}
# vim: set ts=4 sw=4 expandtab: