Hi,<div><br></div><div>You can reference any attribute *inside* the TEMPLATE.</div><div>For example, if you add to your user template, executing 'oneuser update <id>', the following:</div><div><br></div><div>
USERNAME="test_name"</div><div><br></div><div>Then you can use that attribute inside the context:</div><div><div><br></div><div>CONTEXT=[</div><div> ROOT_USERNAME = "$USER[USERNAME]" ]</div></div><div>
<br></div><div><br></div><div>Regards.<br clear="all">--<br>Carlos Martín, MSc<br>Project Engineer<br>OpenNebula - The Open-source Solution for Data Center Virtualization<div><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a> | <a href="http://twitter.com/opennebula" target="_blank">@OpenNebula</a></span><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="mailto:cmartin@opennebula.org" style="color:rgb(42,93,176)" target="_blank"></a></span></div>
<br>
<br><br><div class="gmail_quote">On Wed, May 23, 2012 at 7:28 PM, Stantz, Brent - GS <span dir="ltr"><<a href="mailto:Brent.Stantz@exelisinc.com" target="_blank">Brent.Stantz@exelisinc.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<font face="Calibri, sans-serif">
<div>Hi,</div>
<div> </div>
<div> I am trying to configure my VM systems to use the “owners” name as the username, I have not been able to ‘retrieve’ the proper username. Please provide the correct variable to give such information.</div>
<div> </div>
<div>Thank you,</div>
<div> </div>
<div><i><b>Brent Stantz</b></i></div>
<div><font color="#231F20"><i>Software Engineering</i></font></div>
<div><font><i>Geospatial Systems</i></font></div>
<div><font color="#231F20"> </font></div>
<div><font color="#231F20"><b>ITT Exelis</b></font></div>
<div><font face="Calibri, sans-serif"><i>Rochester, NY 14606-0488</i></font></div>
<div> </div>
<div><font face="Times New Roman, serif" size="3"><br>
</font></div>
<div><font face="Times New Roman, serif" size="3"><u> ________________________________ </u></font></div>
<div><font face="Arial, sans-serif" color="#808080">Email addresses of ITT Exelis employees will be changing from <a href="http://itt.com" target="_blank">itt.com</a> to <a href="http://exelisinc.com" target="_blank">exelisinc.com</a>. Please update your favorites and contact information to reflect these changes.<br>
<br>
This e-mail and any files transmitted with it may be proprietary and are intended solely for the use of the individual or entity to whom they are addressed. If you have received this e-mail in error please notify the sender. Please note that any views or opinions
presented in this e-mail are solely those of the author and do not necessarily represent those of Exelis Inc. The recipient should check this e-mail and any attachments for the presence of viruses. Exelis Inc. accepts no liability for any damage caused by any
virus transmitted by this e-mail.<br>
</font></div>
</font>
</div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br></div>