On 9 February 2015 at 14:16, Daniel Dehennin <daniel.dehen...@baby-gnu.org>
wrote:

> Daniel Dehennin <daniel.dehen...@baby-gnu.org> writes:
>
> > We use jenkins to automate the installation of VM from ISO images[1] and
> we
> > use something similar to jenkins.debian.net[2] which use vncdo[3].
>
> [...]
>
> > We would like to get the token from Sunstone REST API:
> >
> >     https://nebula.example.net/vm/<VMID>/startvnc
> >
> > but we don't see how to manage the authentication?
>
> Hello,
>
> It looks like I need the csrftoken but I don't know how to retrieve it.
>
> Any hint?
>

The csrftoken is stored in the user session on the server and is injected
in the index.html

Cheers

>
> Regards.
> --
> Daniel Dehennin
> Récupérer ma clef GPG: gpg --recv-keys 0xCC1E9E5B7A6FE2DF
> Fingerprint: 3E69 014E 5C23 50E8 9ED6  2AAD CC1E 9E5B 7A6F E2DF
>
> _______________________________________________
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>


-- 
--
Daniel Molina
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula
_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to