[one-users] Contextualization
Carlos Martín Sánchez
cmartin at opennebula.org
Fri May 25 08:45:21 PDT 2012
Hi,
You can reference any attribute *inside* the TEMPLATE.
For example, if you add to your user template, executing 'oneuser update
<id>', the following:
USERNAME="test_name"
Then you can use that attribute inside the context:
CONTEXT=[
ROOT_USERNAME = "$USER[USERNAME]" ]
Regards.
--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open-source Solution for Data Center Virtualization
www.OpenNebula.org | cmartin at opennebula.org |
@OpenNebula<http://twitter.com/opennebula><cmartin at opennebula.org>
On Wed, May 23, 2012 at 7:28 PM, Stantz, Brent - GS <
Brent.Stantz at exelisinc.com> wrote:
> Hi,
>
> 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.
>
> Thank you,
>
> *Brent Stantz*
> *Software Engineering*
> *Geospatial Systems*
>
> *ITT Exelis*
> *Rochester, NY 14606-0488*
>
>
> * ________________________________ *
> Email addresses of ITT Exelis employees will be changing from itt.com to
> exelisinc.com. Please update your favorites and contact information to
> reflect these changes.
>
> 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.
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120525/0eb21822/attachment-0003.htm>
More information about the Users
mailing list