diff --git a/containers/teuthology-dev/teuthology.sh b/containers/teuthology-dev/teuthology.sh index 373f6efb8..49219d205 100755 --- a/containers/teuthology-dev/teuthology.sh +++ b/containers/teuthology-dev/teuthology.sh @@ -1,6 +1,6 @@ #!/usr/bin/bash set -e -source /teuthology/virtualenv/bin/activate +PATH=$PATH:/teuthology/.venv/bin set -x cat /run/secrets/id_rsa > $HOME/.ssh/id_rsa if [ -n "$TEUTHOLOGY_TESTNODES" ]; then diff --git a/docs/docker-compose/teuthology/teuthology.sh b/docs/docker-compose/teuthology/teuthology.sh index 78770e323..c9ed897e2 100755 --- a/docs/docker-compose/teuthology/teuthology.sh +++ b/docs/docker-compose/teuthology/teuthology.sh @@ -4,7 +4,7 @@ set -e if [ -n "$SSH_PRIVKEY_FILE" ]; then echo "$SSH_PRIVKEY" > $HOME/.ssh/$SSH_PRIVKEY_FILE fi -source /teuthology/virtualenv/bin/activate +PATH=$PATH:/teuthology/.venv/bin set -x if [ -n "$TESTNODES" ]; then for node in $(echo $TESTNODES | tr , ' '); do