ithin the vm, in the init.sh script :
>
> #!/bin/bash
> source context.sh
> username=$(echo $CTX_USER | base64 -d | xpath -e '/USER/NAME/text()' )
>
>
> Cheers,
> Nicolas AGIUS
>
> --- En date de : Mar 28.8.12, Hyun Woo Kim a écrit :
>
> De: Hyun Woo
: Hyun Woo Kim
Objet: Re: [one-users] Context variables - getting username
À: "Jon Burger"
Cc: ""
Date: Mardi 28 août 2012, 17h04
Hi,
Yesterday I learned from ON developer Ruben that
for instance oneadmin can do
oneuser update ID(of the user who actually instantiates the
Hi
Just sent an email with a patch for this. We are having some problems with
our archiving service for the mailing list, so let me quickly summarize the
options:
1.- Add a NAME variable in the user template as described by Hyunwoo, this
will give you $USER[NAME]
2.- Apply the patch in [1]. This
Hi,
Yesterday I learned from ON developer Ruben that
for instance oneadmin can do
oneuser update ID(of the user who actually instantiates the VM template)
which will open an editor where oneadmin can type in
NAME="the username you want".
This will enable $USER[NAME] to return "the username you wa
Hello,
I would like to know if there is a context variable that contains the
username of the person creating the VM. We have OpenNebula authenticating
against active directory and wish to pass the username into the VM to
create the user id locally (in the case of Linux use kerberose).
I understa