Skip to content

Commit fb3f22b

Browse files
committed
Add TEUTHOLOGY_YAML to overwrite teuthology.yaml
Overwrite tuethology.yaml in teuthology container. Signed-off-by: Vallari Agrawal <val.agl002@gmail.com>
1 parent 8a5cd7b commit fb3f22b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ceph_devstack/resources/ceph/containers.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,12 @@ def create_cmd(self):
349349
"-e",
350350
f"TEUTHOLOGY_CONF=/tmp/conf.yaml",
351351
]
352+
teuthology_yaml = os.environ.get("TEUTHOLOGY_YAML")
353+
if teuthology_yaml:
354+
cmd += [
355+
"-v",
356+
f"{teuthology_yaml}:/root/.teuthology.yaml",
357+
]
352358
cmd += [
353359
"--name",
354360
"{name}",

0 commit comments

Comments
 (0)