Fix host_id CLI argument

This commit is contained in:
Daniel Molina committed 2011-06-17 14:48:51 +02:00
1 parent 79ea9e6e01
commit f811bcbaae
1 file changed
+2
+2
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