From: Sage Weil Date: Sun, 25 Nov 2012 16:37:06 +0000 (-0800) Subject: run: save original config, too X-Git-Tag: 1.1.0~2399 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d07d7289a4b059884873f0f09b552cafdaa157e1;p=teuthology.git run: save original config, too --- diff --git a/teuthology/run.py b/teuthology/run.py index 5681170b9..c59aba59e 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'