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