B #4392: Fix vnc with apache & selinux enabled (#1080)

This commit is contained in:
Sergio Betanzos authored and GitHub committed 2021-04-08 12:27:20 +02:00
1 parent d1b410901c
commit 2a3040bf3c
1 file changed
-4
-4
View File
@@ -198,10 +198,6 @@ class OpenNebulaVNC
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