Re: [one-users] how to overload context for one specific vm in oneflow template

2015-01-26 Thread Carlos Martín Sánchez
Hi, On Fri, Jan 23, 2015 at 2:06 PM, Madko madk...@gmail.com wrote: We'd like to have 4 VMs 1 VM with role LVS, no problem here, using a lvs VM template 3 VM with role WEB, using a web VM template. I need to set explicitly their hostnames, no digit allowed (let's say obfuscated-vm-name-a,

Re: [one-users] how to overload context for one specific vm in oneflow template

2015-01-23 Thread Madko
Sorry I don't think it fit our use case. We'd like to have 4 VMs 1 VM with role LVS, no problem here, using a lvs VM template 3 VM with role WEB, using a web VM template. I need to set explicitly their hostnames, no digit allowed (let's say obfuscated-vm-name-a, obfuscated-vm-name-b and

Re: [one-users] how to overload context for one specific vm in oneflow template

2015-01-23 Thread Carlos Martín Sánchez
Hi there, On Thu, Jan 22, 2015 at 2:18 PM, Madko madk...@gmail.com wrote: How do you set hostname to VMs inside roles when you can't use numeric hostname (ie hostname%i)? You can use the VM ID inside the context, the following works for me: CONTEXT = [ HOSTNAME = TEST_$VMID ] Or the VM

Re: [one-users] how to overload context for one specific vm in oneflow template

2015-01-22 Thread Carlos Martín Sánchez
Hi, On Wed, Jan 21, 2015 at 3:29 PM, Madko madk...@gmail.com wrote: Hi, is there a way to overload the vm_template_contents of only one specific VM in a role? I'd like to fix the hostnames. I only manage to overload the context of all the VMs in one role. best regards, Maybe you can

Re: [one-users] how to overload context for one specific vm in oneflow template

2015-01-22 Thread Madko
That's what we were doing untill now, service template with 10 or more VM and therefor 10 or more roles (1:1 ratio) are not really convenient. But thanks for your suggestion. Maybe I'm missing something. Is it possible to change vm_template_contents to some sort of array? How do you set hostname

[one-users] how to overload context for one specific vm in oneflow template

2015-01-21 Thread Madko
Hi, is there a way to overload the vm_template_contents of only one specific VM in a role? I'd like to fix the hostnames. I only manage to overload the context of all the VMs in one role. best regards, ___ Users mailing list Users@lists.opennebula.org