[foreman-dev] vmware html5 console support

2017-05-05 Thread Michael Eklund
I am interested in support for the html5 console for vmware in place of the vnc console. I have a proof of concept of sorts by overwriting the vm_console call in compute_resources_vms_helper.rb. The jist of it is a url that looks like this: html5_link = "https://#{vcenter_url}:9443/vsphere-

Re: [foreman-dev] vmware html5 console support

2017-05-08 Thread Michael Eklund
, html5_link, { :class => "btn btn-info"}) } On Monday, May 8, 2017 at 3:09:58 AM UTC-5, ohadlevy wrote: > > > > On Sat, May 6, 2017 at 1:09 AM, Michael Eklund > wrote: > >> I am interested in support for the html5 console for vmware in place of

Re: [foreman-dev] vmware html5 console support

2017-05-08 Thread Michael Eklund
Sorry about the format fail. :( -- You received this message because you are subscribed to the Google Groups "foreman-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to foreman-dev+unsubscr...@googlegroups.com. For more options, visit https://groups.g

Re: [foreman-dev] vmware html5 console support

2017-05-08 Thread Michael Eklund
I would be happy to help with testing. IMO this is a killer feature. On Monday, May 8, 2017 at 10:48:36 AM UTC-5, Timo Goebel wrote: > > Mike, > > This sound very interesting. If I got that right, you can even gerate a > pre-authenticated console url that is valid only once. [1] > > Foreman co

Re: [foreman-dev] vmware html5 console support

2017-05-08 Thread Michael Eklund
Probably should keep in mind that you may not want all foreman users connecting to your VCenter with the permissions that foreman uses though. Not really a problem in our environment but may be with others. I am not that worried about having to enter my vcenter credentials if needed. Mike E

Re: [foreman-dev] vmware html5 console support

2017-05-08 Thread Michael Eklund
looks like the link is simplified further if you are using the remote client as well: vmrc://vcenter.example.com/?moid=vm-221 You only need the vm.mo_ref. Though you will be prompted for vcenter username/password. they support linux, mac, and windows and it can be downloaded here: https://my

Re: [foreman-dev] vmware html5 console support

2017-05-08 Thread Michael Eklund
If you have not found it here is an article about generating a auth'd ticket with example perl script. http://www.virtuallyghetto.com/2013/09/how-to-generate-pre-authenticated-html5.html On Monday, May 8, 2017 at 10:48:36 AM UTC-5, Timo Goebel wrote: > > Mike, > > This sound very interesting.

Re: [foreman-dev] vmware html5 console support

2017-05-09 Thread Michael Eklund
; > Am Montag, 8. Mai 2017 18:27:58 UTC+2 schrieb Michael Eklund: >> >> I would be happy to help with testing. IMO this is a killer feature. >> > > I created some code to test this. [1] Unfortunately pre-authentication > does not work with vsphere > 6 as it always re