Fixed DB initialization problem

git-svn-id: http://svn.opennebula.org/one/trunk@863 3034c82b-c49b-4eb3-8279-a7acafdc01c0
This commit is contained in:
Constantino Vázquez Blanco committed 2009-10-16 11:10:05 +00:00
1 parent 27396a24be
commit 403a6a0e51
2 files changed
+2 -3

No files matched your search

+1 -2
View File
@@ -16,7 +16,6 @@
#--------------------------------------------------------------------------- #
require 'repo_manager'
require 'image'
require 'Configuration'
require 'OpenNebula'
require 'pp'
@@ -60,8 +59,8 @@ class CloudServer
# --- Start a Repository Manager ---
Image.image_dir = @config[:image_dir]
@rm = RepoManager.new(@config[:database])
Image.image_dir = @config[:image_dir]
# --- Start an OpenNebula Session ---
+1 -1
View File
@@ -24,7 +24,7 @@ if !ONE_LOCATION
RUBY_LIB_LOCATION = "/usr/lib/one/ruby"
CONFIGURATION_FILE = "/etc/one/econe.conf"
TEMPLATE_LOCATION = "/etc/one/ec2query_templates"
DB_LOCATION = "/var/lib/one/econe.rb"
DB_LOCATION = "/var/lib/one/econe.db"
else
RUBY_LIB_LOCATION = ONE_LOCATION+"/lib/ruby"
CONFIGURATION_FILE = ONE_LOCATION+"/etc/econe.conf"