mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
Fix for bug #270, now the CloudServer uses by default the oneadmin account (if ran by oneadmin)
This commit is contained in:
parent
494ac47372
commit
54134bd13f
@ -44,7 +44,6 @@ class CloudServer
|
||||
# --- Load the Cloud Server configuration file ---
|
||||
|
||||
@config = Configuration.new(config_file)
|
||||
@auth = "#{@config[:user]}:#{@config[:password]}"
|
||||
|
||||
@instance_types = Hash.new
|
||||
|
||||
@ -63,7 +62,7 @@ class CloudServer
|
||||
|
||||
# --- Start an OpenNebula Session ---
|
||||
|
||||
@one_client = Client.new(@auth)
|
||||
@one_client = Client.new()
|
||||
@user_pool = UserPool.new(@one_client)
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user