: 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
@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
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
...@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
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
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
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/
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
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