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, <[email protected]> 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 [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/packer-tool/cf8ead28-24c7-47d8-87c1-7e69814c202c%40googlegroups.com > <https://groups.google.com/d/msgid/packer-tool/cf8ead28-24c7-47d8-87c1-7e69814c202c%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/CALz9Rt-zUJ314XrMsR6-FJ2wOqh%2BZW%3DY6ZGH%3DfRTmuroUqOoXA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
