Re: [one-users] How use $UNAME

2014-07-25 Thread Steven Timm
We have been initializing Kerberos logins using opennebula contextualizaton on FermiCloud since the beginning. The UNAME field automatically defined but not automatically passed to contextualization scripts inside the VMs. Here is a snippet of code that we use to do just that. (The username i

Re: [one-users] How use $UNAME

2014-07-24 Thread Alexandr Baranov
Thnak you,Valentin! 24.07.2014 14:48 пользователь "Valentin Bud" написал: > 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

Re: [one-users] How use $UNAME

2014-07-24 Thread Valentin Bud
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-def

[one-users] How use $UNAME

2014-07-24 Thread Alexandr Baranov
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 pa