1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-25 23:21:29 +03:00

F #3509: Log vnm hook stdout

* M #: Removed useless variable
This commit is contained in:
Daniel Clavijo Coca 2019-07-26 12:46:00 -05:00 committed by Ruben S. Montero
parent 8b9531fb73
commit 6b39bfea8b
2 changed files with 3 additions and 2 deletions

View File

@ -363,7 +363,6 @@ module SGIPTables
vars = SGIPTables.vars(vm, nic)
chain = vars[:chain]
chain_in = vars[:chain_in]
chain_out = vars[:chain_out]

View File

@ -206,9 +206,11 @@ module VNMMAD
cmd = "#{file} #{args.join(' ')}"
_o, e, s = Open3.capture3(cmd, :stdin_data => stdin.to_s)
o, e, s = Open3.capture3(cmd, :stdin_data => stdin.to_s)
raise "Error running #{file}\n#{e}" unless s.exitstatus.zero?
OpenNebula.log o
end
0