Is there any way to specify VM instance name using Openstack builder?

14 views
Skip to first unread message

ile...@gmail.com

unread,
Mar 18, 2018, 2:56:19 AM3/18/18
to Packer
By default, packer creates VM instance named 'image_name'. However our private cloud has more strict standard for instance name (e.g. dot(.) can not be used for instance name).

So is there any way to specify the instance name? I found the old post for this demand, and the workaround stated is using user_data or instance_metadata, but it does not work.

Rickard von Essen

unread,
Mar 18, 2018, 3:04:01 AM3/18/18
to packe...@googlegroups.com
No this can't currently be changed, but this functionality could easily added.  PR's are welcome. Or open a feature request. 

On Mar 18, 2018 7:56 AM, <ile...@gmail.com> wrote:
By default, packer creates VM instance named 'image_name'. However our private cloud has more strict standard for instance name (e.g. dot(.) can not be used for instance name).

So is there any way to specify the instance name? I found the old post for this demand, and the workaround stated is using user_data or instance_metadata, but it does not work.

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/cf8ead28-24c7-47d8-87c1-7e69814c202c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
Message has been deleted
Message has been deleted
Message has been deleted
0 new messages