1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

M #-: onevm ssh returns exitstatus (#1238)

Signed-off-by: Ricardo Diaz <rdiaz@opennebula.io>
(cherry picked from commit 24ca6db51c0407b6fecface5d03ff22e1a660e0b)
This commit is contained in:
Ricardo Diaz 2021-05-20 16:01:23 +02:00 committed by Ruben S. Montero
parent 0c170ea135
commit 147b7f8b32
No known key found for this signature in database
GPG Key ID: A0CEA6FA880A1D87

View File

@ -1598,6 +1598,8 @@ CommandParser::CmdParser.new(ARGV) do
system("ssh #{login}@#{ip} -p #{port} #{cmd}")
end
$?.exitstatus
end
port_desc = <<-EOT.unindent