]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commit
RemoteProcess: command can be now executed in specified directory.
authorRadoslaw Zarzynski <rzarzyns@redhat.com>
Tue, 11 Jul 2017 12:19:57 +0000 (12:19 +0000)
committerRadoslaw Zarzynski <rzarzyns@redhat.com>
Tue, 11 Jul 2017 12:34:12 +0000 (12:34 +0000)
commitdc91807844966f0c1ed93f23311d931d572621d1
tree9ec99060701a8417a6df820b885c13fc72a40ac1
parent8e242b7c86e5136a32cd220bcc48ec4d9acf0e47
RemoteProcess: command can be now executed in specified directory.

RemoteProcess, a class built around Paramiko's exec_command(),
currently lacks support for the "cwd" parameter. It specifies
the directory in which the requested command should be executed.
This stays in contrast to LocalRemoteProcess from the vstart
runner as it wraps Python's subprocess, and thus naturally
offers the feature. The patch unifies these two implementations.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
teuthology/orchestra/run.py