mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-18 02:50:09 +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
src/cloud/ec2
@ -67,7 +67,7 @@ if $0 == __FILE__
|
|||||||
|
|
||||||
require 'pp'
|
require 'pp'
|
||||||
|
|
||||||
conf=OcaConfiguration.new('oca.conf')
|
conf=OcaConfiguration.new('econe.conf')
|
||||||
pp conf.conf
|
pp conf.conf
|
||||||
|
|
||||||
end
|
end
|
||||||
|
@ -27,7 +27,7 @@ require 'pp'
|
|||||||
|
|
||||||
include OpenNebula
|
include OpenNebula
|
||||||
|
|
||||||
CONFIG=OcaConfiguration.new(CONF_LOCATION+'/oca.conf')
|
CONFIG=OcaConfiguration.new(CONF_LOCATION+'/econe.conf')
|
||||||
AUTH="#{CONFIG[:user]}:#{CONFIG[:password]}"
|
AUTH="#{CONFIG[:user]}:#{CONFIG[:password]}"
|
||||||
ONE_RM_DATABASE=CONFIG[:database]
|
ONE_RM_DATABASE=CONFIG[:database]
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/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
|
export TMPDIR=$IMG_DIR/tmp
|
||||||
mkdir -p $TMPDIR
|
mkdir -p $TMPDIR
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user