From 54134bd13f27307bcb397c47ac6b421d52954561 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tino=20V=C3=A1zquez?= Date: Wed, 7 Jul 2010 19:07:26 +0200 Subject: [PATCH] Fix for bug #270, now the CloudServer uses by default the oneadmin account (if ran by oneadmin) --- src/cloud/common/CloudServer.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/cloud/common/CloudServer.rb b/src/cloud/common/CloudServer.rb index f4d4ea3446..a76a6a5040 100755 --- a/src/cloud/common/CloudServer.rb +++ b/src/cloud/common/CloudServer.rb @@ -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