Dynamic hostname based on the instance number


#1

Hi guys,

we got an issue with the machines names on opennebula, basically we use:

onetemplate template_id --name python01.whatever.local -m 3

the issue is all of them are going to have python01 as name.

I tried to use --name python0%i as suggested in onetemplate man page but it starts from zero and we need to start from 1. there is any way to do this?

Versions of the related components and OS (frontend, hypervisors, VMs):

OpenNebula Sunstone 5.4

Thanks