mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
CLI one_helper allows for changes in secret and endpoint
This commit is contained in:
parent
17ad24169e
commit
2447e7d99e
@ -64,8 +64,8 @@ EOT
|
||||
OPTIONS = XML, NUMERIC, KILOBYTES
|
||||
|
||||
class OneHelper
|
||||
def initialize
|
||||
@client = OpenNebula::Client.new
|
||||
def initialize(secret=nil, endpoint=nil)
|
||||
@client = OpenNebula::Client.new(secret,endpoint)
|
||||
@translation_hash = nil
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user