diff --git a/vip-portal/src/main/resources/vm/wrapper.vm b/vip-portal/src/main/resources/vm/wrapper.vm index 28c4863f1..225015715 100644 --- a/vip-portal/src/main/resources/vm/wrapper.vm +++ b/vip-portal/src/main/resources/vm/wrapper.vm @@ -159,7 +159,9 @@ fi # Change PYTHONPATH to make all strings unicode by default in python2 (as in python3) # Otherwise `bosh exec` fails on any non-ascii characters in outputs echo "import sys; sys.setdefaultencoding(\"UTF8\")" > sitecustomize.py -PYTHONPATH=".:$PYTHONPATH" $BOSHEXEC exec launch $JSONFILE input_param_file.json -v $PWD/../cache:$PWD/../cache +#creating a temporary directory for bindmount /tmp of containers +mkdir -p tmp +PYTHONPATH=".:$PYTHONPATH" $BOSHEXEC exec launch $JSONFILE input_param_file.json -v $PWD/../cache:$PWD/../cache -v $PWD/tmp:/tmp if [ $? != 0 ] then