Hi Rohit,

  I didn't saw the display name in the metadata, this is why I ask:


{"vm_ip_address":"51.89.xx.xx","vm_metadata":[["userdata","user-data",null],
["metadata","service-offering","S-2"],["metadata","availability-zone","DE-00
1"],["metadata","local-ipv4","51.89.xx.xx"],["metadata","local-hostname","VM
-c8c113e0-3277-425e-882b-44937413fd4a"],["metadata","public-ipv4","51.89.xx.
xx"],["metadata","public-hostname","VM-c8c113e0-3277-425e-882b-44937413fd4a"
],["metadata","instance-id","c8c113e0-3277-425e-882b-44937413fd4a"],["metada
ta","vm-id","c8c113e0-3277-425e-882b-44937413fd4a"]


  Or I'm not looking at the right path? This is from metadata file, located
on the routers / processed.

Thank you,
Cristian



-----Original Message-----
From: Rohit Yadav <rohit.ya...@shapeblue.com> 
Sent: Friday, August 4, 2023 4:13 PM
To: 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