1
0
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:
Tino Vázquez 2010-07-07 19:07:26 +02:00
parent 494ac47372
commit 54134bd13f

View File

@ -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