Skip to content

Commit 8a5cd7b

Browse files
committed
Add TEUTHOLOGY_CONF to teuthology container
Signed-off-by: Vallari Agrawal <val.agl002@gmail.com>
1 parent 9809576 commit 8a5cd7b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

ceph_devstack/resources/ceph/containers.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,14 @@ def create_cmd(self):
341341
"-e",
342342
f"SSH_AUTH_SOCK={ssh_auth_socket}",
343343
]
344+
custom_conf = os.environ.get("TEUTHOLOGY_CONF")
345+
if custom_conf:
346+
cmd += [
347+
"-v",
348+
f"{custom_conf}:/tmp/conf.yaml",
349+
"-e",
350+
f"TEUTHOLOGY_CONF=/tmp/conf.yaml",
351+
]
344352
cmd += [
345353
"--name",
346354
"{name}",

0 commit comments

Comments
 (0)