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

M #~: Fix vnc with apache & selinux enabled (#1079)

This commit is contained in:
Sergio Betanzos 2021-04-08 12:14:05 +02:00 committed by GitHub
parent bbb3b84b40
commit 791ba7f4dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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