1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-11 05:17:41 +03:00

Change host configuration in servers

This commit is contained in:
Daniel Molina 2011-12-19 17:36:44 +01:00
parent 763f1d0cca
commit e81b906ec3
4 changed files with 4 additions and 4 deletions

View File

@ -69,7 +69,7 @@ CloudServer.print_configuration(conf)
# Sinatra Configuration
##############################################################################
set :config, conf
set :host, settings.config[:server]
set :bind, settings.config[:server]
set :port, settings.config[:port]
if CloudServer.is_port_open?(settings.config[:server],

View File

@ -79,7 +79,7 @@ if CloudServer.is_port_open?(settings.config[:server],
exit
end
set :host, settings.config[:server]
set :bind, settings.config[:server]
set :port, settings.config[:port]
begin

View File

@ -109,7 +109,7 @@ end
# Sinatra Configuration
##############################################################################
use Rack::Session::Pool, :key => 'ozones'
set :host, config[:host]
set :bind, config[:host]
set :port, config[:port]
set :show_exceptions, false

View File

@ -65,7 +65,7 @@ end
##############################################################################
use Rack::Session::Pool, :key => 'sunstone'
set :config, conf
set :host, settings.config[:host]
set :bind, settings.config[:host]
set :port, settings.config[:port]
begin