<div dir="ltr">Hi Olivier,<div><div class="gmail_extra"><div><div dir="ltr"><br></div></div><div class="gmail_quote">On Wed, Nov 27, 2013 at 5:50 PM, Olivier Sallou <span dir="ltr"><<a href="mailto:olivier.sallou@irisa.fr" target="_blank">olivier.sallou@irisa.fr</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000"><div class="im"><span style="color:rgb(34,34,34)">I think that a hook before VM is created, providing the vm info
    (user, vm id etc..) would be perfect. But could we get the vm id is
    VM is not yet created ? (vmid is necessary to update its user
    template).</span></div></div></blockquote><div><br></div><div>I was thinking of a special hook, or new driver, something like</div><div>input: the raw template of a VM to be created, the user id, maybe the user template</div>

<div>output: a modified template</div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div bgcolor="#FFFFFF" text="#000000">


    I can manage for the moment this issue, I manage some things
    directly in the VM or via an external server requested by the VM at
    startup but it would be easier and better to do this directly in
    OpenNebula via hooks as suggested</div></blockquote><div> </div><div>That special server is something that could be replaced with the OneGate component, once we do this ticket:</div><div><a href="http://dev.opennebula.org/issues/2375">http://dev.opennebula.org/issues/2375</a> </div>

<div><br></div><div><br></div><div>I'd like to see this use case better supported in future versions, thanks for your feedback so far.</div><div><br></div><div>Regards</div><div><br></div>--<br><div>Carlos Martín, MSc<br>

Project Engineer</div><div>OpenNebula - Flexible Enterprise Cloud Made Simple<br></div><div><a href="http://www.opennebula.org/" target="_blank" style="font-family:arial,sans-serif;font-size:13px">www.OpenNebula.org</a><span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"> </span><span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px">|</span><span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"> </span><a href="mailto:cmartin@opennebula.org" target="_blank" style="font-family:arial,sans-serif;font-size:13px">cmartin@opennebula.org</a><span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"> </span><span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px">|</span><span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"> </span><a href="http://twitter.com/opennebula" target="_blank" style="font-family:arial,sans-serif;font-size:13px">@OpenNebula</a></div>

</div></div></div></div>