Skip to content

Commit

Permalink
M #~: Fix vnc with apache & selinux enabled (#1079)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergio Betanzos authored Apr 8, 2021
1 parent bbb3b84 commit 791ba7f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/sunstone/models/sunstone_vnc.rb
Original file line number Diff line number Diff line change
Expand Up @@ -201,10 +201,6 @@ def proxy(vm_resource)
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
Expand Down

0 comments on commit 791ba7f

Please sign in to comment.