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

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

This commit is contained in:
Sergio Betanzos 2021-04-08 12:27:20 +02:00 committed by GitHub
parent d1b410901c
commit 2a3040bf3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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