feature #3383: Fix wrong host_id retrieval

This commit is contained in:
Tino Vazquez committed 2015-02-06 13:44:31 +01:00
1 parent 6491ca9208
commit e78e4e179f
1 file changed
+1 -1
+1 -1
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