[one-users] How use $UNAME

Valentin Bud valentin.bud at gmail.com
Thu Jul 24 03:48:29 PDT 2014


Hi Alexandr,

It is defined but not automatically included. You have to configure it
in the template.

CONTEXT=[
UNAME="$UNAME"
]

You can, of course name the variable inside the CONTEXT as you wish.

I am using ONE 4.4 and the above applies to this version, I don't know if
4.6 includes the pre-defined variables by default.

Best,
Valentin


On Thu, Jul 24, 2014 at 1:34 PM, Alexandr Baranov <telecastcloud at gmail.com>
wrote:

> Hi,
>
> I'm trying to setup kerberos login to log into VMs with kerberos username
> matching ONE username. I'm going to use UNAME variable and ONE
> documentation states it as pre-defined. So the question is: do I need to
> manually specify UNAME inside the VM template, or is it automatically
> defined and passed to contextualization scripts?
>
> _______________________________________________
> 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/20140724/4ed17ccb/attachment.htm>


More information about the Users mailing list