Choose the name of VM deployed by service

Hello,
I would like to know how to choose the name of my VM deployed by Service Template.
I have a naming convention of type:
FR-USER-PROD
US-USER-PROD
(User = client)
To deploy a single VM, I indicate the name of my VM and it works with, in the template:
SET_HOSTNAME = “$ NAME”,
But if I create a service that deploys 2 VM, I do not have the choice of naming.
I can only configure:
Vm_name_template: $ SERVICE_NAME- $ ROLE_NAME
SERVICE_NAME = CLIENT
ROLE_NAME = PROD
How do I customize this?
In addition, the name of the VM on the vCenter must be the same as the name of the hostname.
So I have to remove the “one-ID” in front of the name.
Can you help me ?

Help me please ?

Quick question, are you using VMware or KVM under the hood?

Vmware.
I solved by a user ask hostname and hostname variable used in a script at startup…

USER_INPUTS = [
HOSTNAMING = “M|text|Indiquer le nom du serveur :||” ]
CONTEXT = [
HOSTNAMING = “$HOSTNAMING”,
START_SCRIPT = “/root/bin/change_name.sh” ]

No choice