1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

Log to stderr VNC proxy command when starting it

(cherry picked from commit 8ff6baf1090c6a3696cf6d0cd2277e9e8538a15d)
This commit is contained in:
Hector Sanjuan 2011-09-20 22:59:21 +02:00 committed by Tino Vazquez
parent 5c788e6d46
commit 92443f7627

View File

@ -229,6 +229,8 @@ class SunstoneServer
begin
novnc_cmd = "#{config[:novnc_path]}/utils/wsproxy.py"
novnc_exec = "#{novnc_cmd} #{proxy_port} #{host}:#{vnc_port}"
$stderr.puts("Starting vnc proxy: #{novnc_exec}")
pipe = IO.popen("#{novnc_cmd} #{proxy_port} #{host}:#{vnc_port}")
rescue Exception => e
error = Error.new(e.message)