Le 8/18/12 1:01 PM, Ricardo Duarte a écrit : > Hi there, > > I would like to generate a random password for each instance, but it > should be readable/available under Sunstone. > The plan is to slightly modify the virtual machine data table, and add > a new column named "Service Password", or in alternative, users may > look for it under the "Image Template" tab. > What I am missing is how to make the password available to both > Sunstone and the instance, and how to generate it before the machine > boots. Looks like the easier way would be to auto-generate it and add > it to CONTEXT. > But how can I do it? Is there any hook I can use to generate a > variable and add them to context, before the machine boots? Or do I > have to modify the OpenNebula C core? I don't think it is possible via a hook to add variable to context. I would however vote for such features. It could be very useful to set some context parameters according to the context (which user, which time/day,...)
Olivier > > Thanks. > > > > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org > > -- > gpg key id: 4096R/326D8438 (keyring.debian.org) > Key fingerprint = 5FB4 6F83 D3B9 5204 6335 D26D 78DC 68DB 326D 8438
_______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
