Ask Your Question

How to have custom name for the VMs created using HEAT templates

asked 2016-08-30 03:40:36 -0500

divinedragon gravatar image

I am new to openstack and trying to create stacks using HEAT templates. However, the VM, I create using the helloworld.yaml from the official documentation, has name like HellowWorld1-server-7qws2kvup5um. Is there a way I can modify or specify that in the HEAT templates?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-08-30 05:12:33 -0500

Yes, its really easy and straightforward. You can give any name in the name attribute of the properties section of the instance. For Example

    type: OS::Nova::Server
      name: heat-vm-1
      image: <UUID of the image> 
      flavor: m1.xsmall

Hope that helps!!

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2016-08-30 03:40:36 -0500

Seen: 204 times

Last updated: Aug 30 '16