[one-users] User parameterized template

Daniel Dehennin daniel.dehennin at baby-gnu.org
Thu May 22 07:46:27 PDT 2014


Hello,

Trying to factorize the VM template on ONE 4.6.1 for our internal use,
I'm trying to create a user parametric[1] template for network.

We have one network topology model and want to ease running their VMs in
their own pre-defined networks[2].

I'm trying to define the template with the following NIC definition:

    NIC=[NETWORK_UNAME="${UNAME}",NETWORK="${UNAME}-net"]

When a user foo instanciate the VM template, I would like ONE to
“resolve” the NIC definition to:

    NIC=[NETWORK_UNAME="foo",NETWORK="foo-net"]

Is there a way to achive something like this?

Regards.

Footnotes: 
[1]  like for context http://docs.opennebula.org/4.6/user/references/template.html#context-section

[2]  not like asked in http://dev.opennebula.org/issues/2125

-- 
Daniel Dehennin
Récupérer ma clef GPG: gpg --recv-keys 0xCC1E9E5B7A6FE2DF
Fingerprint: 3E69 014E 5C23 50E8 9ED6  2AAD CC1E 9E5B 7A6F E2DF
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 359 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140522/cceada2b/attachment.pgp>


More information about the Users mailing list