Re: [one-users] variables in RAW section

2014-07-03 Thread Damien Waber
Thank you very much for your answer. It will do the trick. Best regards, Damien On Wed, Jul 2, 2014 at 3:59 PM, Ruben S. Montero wrote: > The VM ID is in fact the third argument of the deploy script so you do not > need to get it from the deployment file. > > Cheers > > > On Wed, Jul 2, 201

Re: [one-users] variables in RAW section

2014-07-02 Thread Ruben S. Montero
The VM ID is in fact the third argument of the deploy script so you do not need to get it from the deployment file. Cheers On Wed, Jul 2, 2014 at 3:45 PM, Ruben S. Montero wrote: > I am afraid that it is not currently supported by the OpenNebula core. > Only variables in CONTEXT get parsed and

Re: [one-users] variables in RAW section

2014-07-02 Thread Ruben S. Montero
I am afraid that it is not currently supported by the OpenNebula core. Only variables in CONTEXT get parsed and $VMID substituted. If you need this, you could add it in the deploy script. You can get the VM-ID with a grep of the deployment file ($domain) for and sed to remove the one- part. And t

[one-users] variables in RAW section

2014-07-01 Thread Damien Waber
Hi, I try to add virtual shared folder to my KVM guests. I tried adding a RAW section to template RAW = [ type = "kvm", data = "" ] But VMID is not replaced dynamically. Is there an alternative way to specify dynamic VMID in this section? Best regards, Damien