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:
parent
79ea9e6e01
commit
f811bcbaae
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user