1
0
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:
Sergio Betanzos 2021-04-08 12:14:05 +02:00 committed by Ruben S. Montero
parent d89d87ba52
commit 202b57d588
No known key found for this signature in database
GPG Key ID: A0CEA6FA880A1D87

View File

@ -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