mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-16 22:50:10 +03:00
make use of the new conf. filename
git-svn-id: http://svn.opennebula.org/one/trunk@740 3034c82b-c49b-4eb3-8279-a7acafdc01c0
This commit is contained in:
parent
27cd41ba9a
commit
fb934b0d4c
@ -67,7 +67,7 @@ if $0 == __FILE__
|
||||
|
||||
require 'pp'
|
||||
|
||||
conf=OcaConfiguration.new('oca.conf')
|
||||
conf=OcaConfiguration.new('econe.conf')
|
||||
pp conf.conf
|
||||
|
||||
end
|
||||
|
@ -27,7 +27,7 @@ require 'pp'
|
||||
|
||||
include OpenNebula
|
||||
|
||||
CONFIG=OcaConfiguration.new(CONF_LOCATION+'/oca.conf')
|
||||
CONFIG=OcaConfiguration.new(CONF_LOCATION+'/econe.conf')
|
||||
AUTH="#{CONFIG[:user]}:#{CONFIG[:password]}"
|
||||
ONE_RM_DATABASE=CONFIG[:database]
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
eval `grep ^IMAGE_DIR= $ONE_LOCATION/etc/oca.conf `
|
||||
eval `grep ^IMAGE_DIR= $ONE_LOCATION/etc/econe.conf `
|
||||
export TMPDIR=$IMG_DIR/tmp
|
||||
mkdir -p $TMPDIR
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user