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

Fix host_id CLI argument

This commit is contained in:
Daniel Molina 2011-06-17 14:48:51 +02:00
parent 79ea9e6e01
commit f811bcbaae

View File

@ -281,6 +281,8 @@ EOT
end
def OpenNebulaHelper.name_to_id(name, poolname, user_flag=-2)
return 0, name if name.match(/^[0123456789]+$/)
client = OpenNebula::Client.new
# TBD user_flag
pool = case poolname