1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-11 05:17:41 +03:00

feature #3383: Fix wrong host_id retrieval

This commit is contained in:
Tino Vazquez 2015-02-06 13:44:31 +01:00
parent 6491ca9208
commit e78e4e179f

View File

@ -277,7 +277,7 @@ cmd=CommandParser::CmdParser.new(ARGV) do
"#{rc.message}\n"
end
host_id = OpenNebulaHelper.rname_to_id(v[:host], "HOST")
host_id = OpenNebulaHelper.rname_to_id(v[:host], "HOST")[1]
rc = one_v.deploy host_id