This seems a bit broken. You might be able to work around it by setting
another hostname in userdata.

On 26 October 2016 at 16:26, Fernando Meireles <[email protected]>
wrote:

> Hi Chris,
>
> Did you found a solution to name the temporary openstack VM differently
> than the resulting image name in packer? I'm having this same problem now.
> Any guidance on this would be much appreciated!
>
> Thanks,
> Fernando
>
> quarta-feira, 1 de Julho de 2015 às 03:16:01 UTC+2, Chris Stone escreveu:
>>
>> Hello,
>>
>> The image_name is the name of the resulting image, but the Openstack
>> plugin also uses that value for the temporary instance name, which ends up
>> being the system hostname, and having periods in that is confusing DNS.
>> Would be helpful to be able to specify a name for the temporary instance as
>> well (for instance, you can include the 'Name' key in the AWS builder).
>>
>> On Tuesday, June 30, 2015 at 4:15:14 PM UTC-7, Alvaro Miranda Aguilera
>> wrote:
>>>
>>> Hello,
>>>
>>> Have you seen this?
>>>
>>> image_name (string) - The name of the resulting image.
>>>
>>> is this what you are after?
>>>
>>> On Wed, Jul 1, 2015 at 5:48 AM, Chris Stone <[email protected]>
>>> wrote:
>>> > Hello. Is it possible to change the name of the temporary Openstack
>>> instance
>>> > that gets built during the Packer build process? For the AWS builder,
>>> it
>>> > allows you to set tags and if you don't give it a 'Name' tag, it just
>>> uses
>>> > "Packer Builder". With Openstack, there doesn't appear to be that
>>> option, so
>>> > it just uses the image name. This isn't favorable if there is a period
>>> in
>>> > the image name (as one would expect with a version number.) For
>>> instance -
>>> > centos-7.1-06302015 as an instance name causes DNS confusion, thinking
>>> that
>>> > both domain.com and .1-06302015.domain.com are both parts of its
>>> FQDN,
>>> > bringing on some Puppet chaos, etc. If we had the ability to use a
>>> more
>>> > generic name like the AWS builder, that would be helpful!
>>> >
>>> > Thanks,
>>> > Chris
>>> >
>>> > --
>>> > 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/01fefdc9-6fd8-
>>> 49ce-a83d-6c135e63c83d%40googlegroups.com.
>>> > 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/64763fda-bc92-4c4c-84d3-2af9e929683f%40googlegroups.com
> <https://groups.google.com/d/msgid/packer-tool/64763fda-bc92-4c4c-84d3-2af9e929683f%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-77ATnmfz-yckzukZ450JQhdC9eVWXieCrw71X8T6-TA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to