diff --git a/vip-portal/src/main/resources/vm/wrapper.vm b/vip-portal/src/main/resources/vm/wrapper.vm index 5427229c6..76243c861 100644 --- a/vip-portal/src/main/resources/vm/wrapper.vm +++ b/vip-portal/src/main/resources/vm/wrapper.vm @@ -72,14 +72,15 @@ function checkBosh { if [ -z "$HOMEBOSH" ] then info "bosh not found, trying to install it" - pip install --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org boutiques --prefix $PWD + export PATH="$HOME/.local/bin:$PATH" + pip install --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org --user boutiques if [ $? != 0 ] then error "pip install boutiques failed" exit 1 else - export BOSHEXEC="$PWD/bin/bosh" - fi + export BOSHEXEC="bosh" + fi else info "local bosh found in $HOMEBOSH" export BOSHEXEC=$HOMEBOSH