aboutsummaryrefslogtreecommitdiffstats
path: root/packer
diff options
context:
space:
mode:
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>2017-01-06 21:07:15 +0100
committerJan-Simon Möller <jsmoeller@linuxfoundation.org>2017-01-06 21:11:46 +0100
commit44583bcfa7353db9a00d19e3d2232645bf5e5d44 (patch)
tree40e0ac56d6b709307adb7bd95c68029d2af03bd3 /packer
parent94d15f8b8de421d9a325d32821255aecd4ad443a (diff)
Use pip with sudo
Change-Id: Id36f63feaebe1bc2ac84a0754872d4ed164c9c6b Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'packer')
-rw-r--r--packer/provision/agl_dependencies.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/packer/provision/agl_dependencies.sh b/packer/provision/agl_dependencies.sh
index 8311fcd5..a8b04832 100644
--- a/packer/provision/agl_dependencies.sh
+++ b/packer/provision/agl_dependencies.sh
@@ -39,7 +39,7 @@ cat <<EOFHOSTS >> /etc/hosts
EOFHOSTS
# install newer version of jjb ... fixes issues with rendering
-pip install --upgrade jenkins-job-builder
+sudo pip install --upgrade --force-reinstall -v jenkins-job-builder
cat <<EOFSYSCTL >> /etc/sysctl.conf
# we have a lot of make jobs, this helps a lot