From: Kyr Shatskyy Date: Tue, 11 Feb 2020 15:56:45 +0000 (+0100) Subject: worker_start: allow ARCHIVE variable override X-Git-Tag: 1.1.0~158^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F1407%2Fhead;p=teuthology.git worker_start: allow ARCHIVE variable override The worker_start.sh script is using archive directory inside the worker user home which cannot be changed, this patches allows override ARCHIVE environment variable to address this issue. Signed-off-by: Kyr Shatskyy --- diff --git a/docs/_static/worker_start.sh b/docs/_static/worker_start.sh index c8f0d4636..e2b4424ae 100644 --- a/docs/_static/worker_start.sh +++ b/docs/_static/worker_start.sh @@ -2,7 +2,7 @@ # A simple script used by Red Hat to start teuthology-worker processes. -ARCHIVE=$HOME/archive +ARCHIVE=${ARCHIVE:-"$HOME/archive"} WORKER_LOGS=$ARCHIVE/worker_logs function start_workers_for_tube {