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:
parent
763f1d0cca
commit
e81b906ec3
@ -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],
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user