Re: [one-users] Picking certain fields /USER/NAME out of $USER[TEMPLATE]

2015-01-13 Thread Carlos Martín Sánchez
Hi, On Fri, Jan 2, 2015 at 9:41 PM, Steven Timm wrote: > The following syntax works in the CONTEXT section. > > TESTUSER="$UNAME", > > The following syntax does not work in the CONTEXT section > > TESTTEMPLATEUSER="$USER[NAME]" > > (It doesn't throw an error, it just doesn't do anything..the >

Re: [one-users] Picking certain fields /USER/NAME out of $USER[TEMPLATE]

2015-01-02 Thread Steven Timm
The following syntax works in the CONTEXT section. TESTUSER="$UNAME", The following syntax does not work in the CONTEXT section TESTTEMPLATEUSER="$USER[NAME]" (It doesn't throw an error, it just doesn't do anything..the variable doesn't show up at all). What I really wanted to for easy comp

Re: [one-users] Picking certain fields /USER/NAME out of $USER[TEMPLATE]

2014-11-17 Thread Steven Timm
Thanks Carlos, looks like that will work. Steve Timm On Mon, 17 Nov 2014, Carlos Martín Sánchez wrote: Hi, You can use $UNAME for the username, or $USER[ATTR] for an individual attribute of the user template [1]. Best regards [1] http://docs.opennebula.org/4.10/user/virtual_machine_setup/co

Re: [one-users] Picking certain fields /USER/NAME out of $USER[TEMPLATE]

2014-11-17 Thread Carlos Martín Sánchez
Hi, You can use $UNAME for the username, or $USER[ATTR] for an individual attribute of the user template [1]. Best regards [1] http://docs.opennebula.org/4.10/user/virtual_machine_setup/cong.html -- Carlos Martín, MSc Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenN

[one-users] Picking certain fields /USER/NAME out of $USER[TEMPLATE]

2014-11-13 Thread Steven Timm
Under OpenNebula 3.2 we would include in the contextualization section the field $USER[TEMPLATE] and then add a contextualization script such that we would grab the field /USER/NAME out of the base64 encoded template information. In Opennebula 4.8 you can still put $USER[TEMPLATE] into your conte