From d98a0090320c8d29b1b3005409a146b59ec37663 Mon Sep 17 00:00:00 2001 From: Kyr Shatskyy Date: Tue, 11 Feb 2020 16:56:45 +0100 Subject: [PATCH] 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 --- docs/_static/worker_start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/_static/worker_start.sh b/docs/_static/worker_start.sh index c8f0d4636c..e2b4424aed 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 { -- 2.39.5