mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
M #~: Fix vnc with apache & selinux enabled (#1079)
(cherry picked from commit 791ba7f4dcd9983d74a81c0b0f6e7007b21968bb)
This commit is contained in:
parent
d89d87ba52
commit
202b57d588
@ -201,10 +201,6 @@ class SunstoneVNC
|
||||
return error(400, "VNC Proxy is not running")
|
||||
end
|
||||
|
||||
if !is_running?
|
||||
return error(400, "VNC Proxy is not running")
|
||||
end
|
||||
|
||||
if !VNC_STATES.include?(vm_resource['LCM_STATE'])
|
||||
return error(400,"Wrong state (#{vm_resource['LCM_STATE']}) to open a VNC session")
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user