mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-16 22:50:10 +03:00
B #: SSH options in onevm ssh not splitted (#1460)
Signed-off-by: Ricardo Diaz <rdiaz@opennebula.io>
This commit is contained in:
parent
2f8e33ed3d
commit
fc285cc9c9
@ -715,7 +715,7 @@ class OneVMHelper < OpenNebulaHelper::OneHelper
|
||||
if opts.empty?
|
||||
exec(*%W[ssh #{login}@#{ip} -p #{port} #{cmd}])
|
||||
else
|
||||
exec(*%W[ssh #{opts} #{login}@#{ip} -p #{port} #{cmd}])
|
||||
exec('ssh', *opts.split, *%W[#{login}@#{ip} -p #{port} #{cmd}])
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user