mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-10 06:24:35 +09:00
Fix host_id CLI argument
This commit is contained in:
1 parent
79ea9e6e01
commit
f811bcbaae
1 file changed
+2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user