ssh_rb-20160310-1.patch
app/services/foreman/provision/ssh.rb 2016-03-10 07:19:20.884779000 +0100 | ||
---|---|---|
51 | 51 |
end |
52 | 52 | |
53 | 53 |
def command |
54 |
"#{command_prefix} bash -c 'chmod 0701 #{remote_script} && #{command_prefix} #{remote_script}' | tee #{remote_script}.log"
|
|
54 |
"#{command_prefix} sh -c 'chmod 0701 #{remote_script} && #{command_prefix} #{remote_script}' | tee #{remote_script}.log" |
|
55 | 55 |
end |
56 | 56 | |
57 | 57 |
def defaults |