From d07d7289a4b059884873f0f09b552cafdaa157e1 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Sun, 25 Nov 2012 08:37:06 -0800 Subject: [PATCH] run: save original config, too --- teuthology/run.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/teuthology/run.py b/teuthology/run.py index 5681170b9480a..c59aba59e9932 100644 --- a/teuthology/run.py +++ b/teuthology/run.py @@ -127,6 +127,9 @@ def main(): with file(os.path.join(ctx.archive, 'owner'), 'w') as f: f.write(ctx.owner + '\n') + with file(os.path.join(ctx.archive, 'orig.config.yaml'), 'w') as f: + yaml.safe_dump(ctx.config, f, default_flow_style=False) + for task in ctx.config['tasks']: assert 'kernel' not in task, \ 'kernel installation shouldn be a base-level item, not part of the tasks list' -- 2.39.5