Hi Cristian,

In addition, in 4.18 a new feature - managed User data was introduced. This can 
be used to register userdata with custom parameters - here, the hostname. And 
when deploying the VM, the custom parameters could be set to the desired 
values. You could refer to 
https://www.shapeblue.com/cloudstack-managed-user-data/ for more information.

Thanks,
Pearl
________________________________
From: Rohit Yadav <rohit.ya...@shapeblue.com>
Sent: August 4, 2023 9:12 AM
To: users@cloudstack.apache.org <users@cloudstack.apache.org>
Subject: Re: set display_name as hostname to instances

Hi Cristian,

I'm not sure, but could you try user data (cloud-init data) when you deploy a 
VM. In there, you'll have flexibility to set the hostname of the VM to whatever 
you'd like.


Regards.

________________________________
From: cristian.c@istream.today <cristian.c@istream.today>
Sent: Thursday, August 3, 2023 20:28
To: users@cloudstack.apache.org <users@cloudstack.apache.org>
Subject: set display_name as hostname to instances

Hello,



Is there a method to set as hostnames to the instances the display name? I
did not see the display name in the metadata.



I am asking this because the display name allows any format, such as
fqdn.tld, and it does not matter if it's a duplicate or not.

Thank you,

Cristian





 

Reply via email to