git://git.onelab.eu
/
tests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e2b411
)
update remote_command() to check if hostname from config file matchs the hostname...
author
Tony Mack
<tmack@cs.princeton.edu>
Mon, 31 Mar 2008 20:39:03 +0000
(20:39 +0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Mon, 31 Mar 2008 20:39:03 +0000
(20:39 +0000)
qaapi/qa/Remote.py
patch
|
blob
|
history
diff --git
a/qaapi/qa/Remote.py
b/qaapi/qa/Remote.py
index
9f5379e
..
5fbdf4f
100644
(file)
--- a/
qaapi/qa/Remote.py
+++ b/
qaapi/qa/Remote.py
@@
-8,7
+8,7
@@
class Remote:
command = " chroot %s %s" % (self['chroot'], command)
if 'vserver' in self and self['vserver']:
command = " vserver %s exec %s " % (self['vserver'], command)
- if 'host' in self and self['host'] not in ['localhost']:
+ if 'host' in self and self['host'] not in ['localhost'
, self.confg.hostname
]:
options = ""
if 'rootkey' in self and self['rootkey']:
options = "-i %s " % self['rootkey']