<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi there,<br><br>I would like to generate a random password for each instance, but it should be readable/available under Sunstone.<br>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.<br>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. <br>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?<br><br>Thanks.<br><br><br> </div></body>
</html>