Hi Bhavin, Firstly the VMs Hostname is always taken from the 'name' setting and not the 'display name' this is why the name setting cannot have spaces (as Hostnames are not allowed to have spaces) but the display name can.
Regarding https://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/Admin_Guide/append-displayname-vms.html - This setting changes how the MVs are listed on vCenter, and does not influence the VMs Hostname Regards Geoff Higginbottom D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581 geoff.higginbot...@shapeblue.com -----Original Message----- From: chinu shah [mailto:chinu2...@gmail.com] Sent: 23 January 2015 02:50 To: users@cloudstack.apache.org Cc: vijayendra.bhamidip...@citrix.com; suresh.ramamur...@nuagenetworks.net Subject: Re: Hostname and IP address of VMs created from template. Thank you Geoff for the response, could you give insights how will it set automatically on guest VMs. According to the Documentation (" https://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/Admin_Guide/append-displayname-vms.html"), when we create a VM with Display name we still do not see the hostname set as display name. We are using centos "CentOS 5.3(64-bit) no GUI (vSphere)" provided by cloudstack. Hypervisor type is VMWare. Does the default template miss any scritps to set the hostname as display name. We have set the hostname to localhost and manually stopped and rebooted but still the hostname was not set to display name. Regards, Bhavin Shah Nuage Networks Find out more about ShapeBlue and our range of CloudStack related services IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//> CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/> CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/> CloudStack Software Engineering<http://shapeblue.com/cloudstack-software-engineering/> CloudStack Infrastructure Support<http://shapeblue.com/cloudstack-infrastructure-support/> CloudStack Bootcamp Training Courses<http://shapeblue.com/cloudstack-training/> This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company registered by The Republic of South Africa and is traded under license from Shape Blue Ltd. ShapeBlue is a registered trademark.