mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
Fixed a bug in kvm drivers
git-svn-id: http://svn.opennebula.org/one/trunk@317 3034c82b-c49b-4eb3-8279-a7acafdc01c0
This commit is contained in:
parent
20264ef975
commit
5a243cb298
@ -173,9 +173,11 @@ class DM < ONEMad
|
||||
end
|
||||
|
||||
def exec_kvm_command(host, command)
|
||||
Open3.popen3(
|
||||
res=Open3.popen3(
|
||||
"ssh -n #{host} virsh #{command} ;"+
|
||||
" echo ExitCode: $? 1>&2")
|
||||
res[0].close
|
||||
res
|
||||
end
|
||||
|
||||
def write_response(action, stdout, stderr, args)
|
||||
|
Loading…
x
Reference in New Issue
Block a user