On 2013-05-17 22:09, Ruben S. Montero wrote:
Probably this could be part of the VM token generation for the VM server
(the gate for the VMs to oned).

For example:

GRAPHICS=[
  PASSWORD="auto",...]

The above attribute will generate the tokens and add it to the password
field...

Do we need it to be random (the VNC password)? Could be it part of the user
credentials for other services as in http://dev.opennebula.org/issues/2066?

I would not trust users here, because mostly this password will be used only to access with noVNC. Better to have random password per instance as I did already in occi/ec2 templates with erb/ruby code:

small.erb/m1.small.erb:
...
GRAPHICS=[
  TYPE=vnc,
  PASSWD=<%= rand(36**16).to_s(36) %>
]
...

Regards, Rolandas Naujikas

We could have in the user template:

EC2_SECRET=
EC2_KEY=
VNC_PASSWORD=
....




On Fri, May 17, 2013 at 10:18 AM, Rolandas Naujikas <
rolandas.nauji...@mif.vu.lt> wrote:

After yesterday IRC meeting I tried to find a way to generate random
GRAPHICS/PASSWD for VM instance and I didn't find. I'm planing to add that
in VM hook for CREATE, to make it in deployment file.

Regards, Rolandas
______________________________**_________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**org<http://lists.opennebula.org/listinfo.cgi/users-opennebula.org>





_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to