Re: [one-users] Using USER template variable in VM Template

2012-08-28 Thread Ruben S. Montero
: Sunday, August 26, 2012 4:33 PM To: Hyun Woo Kim Cc: users@lists.opennebula.orgmailto:users@lists.opennebula.org Subject: Re: [one-users] Using USER template variable in VM Template Hi If you look at the output of the XML, -x option, there is something like: USER ID6/ID GID1

Re: [one-users] Using USER template variable in VM Template

2012-08-28 Thread Hyun Woo Kim
@lists.opennebula.org Subject: Re: [one-users] Using USER template variable in VM Template Hi If you look at the output of the XML, -x option, there is something like: USER ID6/ID GID1/GID GNAMEusers/GNAME NAMEdemo/NAME PASSWORD89e495e7941cf9e40e6980d14a16bf023ccd4c91

Re: [one-users] Using USER template variable in VM Template

2012-08-27 Thread Ruben S. Montero
Woo Kim Cc: users@lists.opennebula.org Subject: Re: [one-users] Using USER template variable in VM Template Hi If you look at the output of the XML, -x option, there is something like: USER ID6/ID GID1/GID GNAMEusers/GNAME NAMEdemo/NAME

Re: [one-users] Using USER template variable in VM Template

2012-08-27 Thread Hyun Woo Kim
...@opennebula.org] Sent: Sunday, August 26, 2012 4:33 PM To: Hyun Woo Kim Cc: users@lists.opennebula.orgmailto:users@lists.opennebula.org Subject: Re: [one-users] Using USER template variable in VM Template Hi If you look at the output of the XML, -x option, there is something like: USER ID6/ID

Re: [one-users] Using USER template variable in VM Template

2012-08-26 Thread Ruben S. Montero
Hi Current version of OpenNebula can only access template variables from users, or networks. By default users have an empty template, so there is no NAME variable unless you define it, e.g. oneuser update. About $UID, this variable is predefined so the OpenNebula core it is not actually accessing

Re: [one-users] Using USER template variable in VM Template

2012-08-26 Thread Hyun Woo Kim
Hi, Thanks very much for the response. Actually, your answer seems a bit different from what the manual says and what I observe. I observe that the USERS actually have TEMPLATE attribute which returns the contents of user_pool in the database (We are using MySQL). The contents of MySQL

Re: [one-users] Using USER template variable in VM Template

2012-08-26 Thread Ruben S. Montero
Hi If you look at the output of the XML, -x option, there is something like: USER ID6/ID GID1/GID GNAMEusers/GNAME NAMEdemo/NAME PASSWORD89e495e7941cf9e40e6980d14a16bf023ccd4c91/PASSWORD AUTH_DRIVERcore/AUTH_DRIVER ENABLED1/ENABLED TEMPLATE/ DATASTORE_QUOTA/

Re: [one-users] Using USER template variable in VM Template

2012-08-26 Thread Hyun Woo Kim
the DB? Thank you. Hyunwoo From: Ruben S. Montero [rsmont...@opennebula.org] Sent: Sunday, August 26, 2012 4:33 PM To: Hyun Woo Kim Cc: users@lists.opennebula.org Subject: Re: [one-users] Using USER template variable in VM Template Hi If you look

[one-users] Using USER template variable in VM Template

2012-08-24 Thread Hyun Woo Kim
Dear Developers, I want to define a variable username in CONTEXT and replace it by a real user name who does onetemplate instantiate The CONTEXT section of my VM Template looks like the following; CONTEXT = [ username= $USER[NAME] ] I am following the instruction in