]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
run: save original config, too
authorSage Weil <sage@inktank.com>
Sun, 25 Nov 2012 16:37:06 +0000 (08:37 -0800)
committerSage Weil <sage@inktank.com>
Sun, 25 Nov 2012 16:37:06 +0000 (08:37 -0800)
teuthology/run.py

index 5681170b9480aa5892ae8a9c90f06264135fd618..c59aba59e99326702bcd3b6df2647eef6d3a2ba3 100644 (file)
@@ -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'