forked from ungleich-public/cdist
Shell selection support via ENV
CDIST_LOCAL_SHELL for local scripts CDIST_REMOTE_SHELL for remote scripts
This commit is contained in:
parent
4bd6158260
commit
64f4cff3cb
4 changed files with 13 additions and 10 deletions
|
|
@ -113,7 +113,7 @@ class Remote(object):
|
|||
|
||||
"""
|
||||
|
||||
command = ["/bin/sh", "-e"]
|
||||
command = [ os.environ.get('CDIST_REMOTE_SHELL',"/bin/sh") , "-e"]
|
||||
command.append(script)
|
||||
|
||||
return self.run(command, env, return_output)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue