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:
parent
5c788e6d46
commit
92443f7627
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user