mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-09 14:03:20 +09:00
Fixed DB initialization problem
git-svn-id: http://svn.opennebula.org/one/trunk@863 3034c82b-c49b-4eb3-8279-a7acafdc01c0
This commit is contained in:
1 parent
27396a24be
commit
403a6a0e51
2 files changed
+2
-3
No files matched your search
@@ -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 ---
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user