]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
workunits: set CEPH_ARGS so 'ceph' etc can find config
authorSage Weil <sage@newdream.net>
Wed, 29 Jun 2011 17:57:35 +0000 (10:57 -0700)
committerSage Weil <sage@newdream.net>
Wed, 29 Jun 2011 17:57:35 +0000 (10:57 -0700)
teuthology/task/workunit.py

index 883cd65563ae08b52d7548671577af003c684fff..5a8b254b1c53e5b56b06de1bb253a2cb980ed72a 100644 (file)
@@ -101,6 +101,7 @@ def task(ctx, config):
                         'cd', '--', scratch_tmp,
                         run.Raw('&&'),
                         run.Raw('PATH="$PATH:/tmp/cephtest/binary/usr/local/bin"'),
+                        run.Raw('CEPH_ARGS="-c /tmp/cephtest/ceph.conf"'),
                         '{srcdir}/{workunit}'.format(
                             srcdir=srcdir,
                             workunit=workunit,