1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-26 06:50:09 +03:00

Fix hostname not set for OCCI resources

(cherry picked from commit 40a89671f62b17c34787fefa2dc457f153565de3)
This commit is contained in:
Hector Sanjuan 2012-09-06 11:51:07 +02:00 committed by Ruben S. Montero
parent 1486d045d8
commit abb0e915eb

View File

@ -58,7 +58,7 @@ class OCCIServer < CloudServer
if config[:ssl_server]
@base_url=config[:ssl_server]
else
@base_url="http://#{config[:server]}:#{config[:port]}"
@base_url="http://#{config[:host]}:#{config[:port]}"
end
@client = client