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
to VMs inside roles when you can't use numeric hostname (ie hostname%i)?

best regards

Le Thu Jan 22 2015 at 11:25:29, Carlos Martín Sánchez <
[email protected]> a écrit :

> Hi,
>
> On Wed, Jan 21, 2015 at 3:29 PM, Madko <[email protected]> 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 create a new role with the same template, and cardinality 1.
> Would that work for you?
>
> Regards
> --
> Carlos Martín, MSc
> Project Engineer
> OpenNebula - Flexible Enterprise Cloud Made Simple
> www.OpenNebula.org <http://www.opennebula.org/> | [email protected]
>  | @OpenNebula <http://twitter.com/opennebula> <[email protected]>
>
>
>
_______________________________________________
Users mailing list
[email protected]
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to