1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-25 02:50:08 +03:00

bug #380: Fixed correct path for read_configuration method

This commit is contained in:
Jaime Melis 2010-10-28 20:50:17 +02:00
parent 0b42b5efe8
commit eb3bd9e6df
3 changed files with 3 additions and 3 deletions

View File

@ -49,7 +49,7 @@ class InformationManager < OpenNebulaDriver
@config = read_configuration
@hypervisor = hypervisor
@remote_dir = @config['SCRIPTS_REMOTE_DIR'] || '/tmp/one'
@remote_dir = @config['SCRIPTS_REMOTE_DIR']
# register actions
register_action(:MONITOR, method("action_monitor"))

View File

@ -183,7 +183,7 @@ private
if ENV['ONE_LOCATION']
one_config=ENV['ONE_LOCATION']+'/var/config'
else
one_config='/var/log/one/config'
one_config='/var/lib/one/config'
end
config=Hash.new

View File

@ -47,7 +47,7 @@ class SshDriver < VirtualMachineDriver
@config = read_configuration
@hypervisor = hypervisor
@remote_dir = @config['SCRIPTS_REMOTE_DIR'] || '/tmp/one'
@remote_dir = @config['SCRIPTS_REMOTE_DIR']
end
# ------------------------------------------------------------------------ #