Re: [packer] copy ami to other regions issue

2019-02-14 Thread Rickard von Essen
It's not possible to pass maps as variables in Packer. I would preprocess the template with jq/python/ruby whatever is simplest for you. On Thu, Feb 14, 2019 at 6:10 AM Frank Dias wrote: > Hi Rickard, > > Can you think of a way that we could code something similar to > "ami_regions": "{{user `

[packer] CentOS AMI problem with Packer build

2019-02-14 Thread santosh . ratnala
Dear All, I am trying to create an Amazon base image using the centoOS 7.6 iso from https://mirrors.edge.kernel.org/centos/7.6.1810/isos/x86_64/CentOS-7-x86_64-Minimal-1810.iso I am able to get the AMI as ami-X with out any problem. Now using this output AMI ami-X, I want to create a anot

[packer] Re: CentOS AMI problem with Packer build

2019-02-14 Thread santosh . ratnala
On Thursday, February 14, 2019 at 2:21:06 PM UTC+5:30, santosh...@acquia.com wrote: > > Dear All, > I am trying to create an Amazon base image using the centoOS 7.6 iso from > > https://mirrors.edge.kernel.org/centos/7.6.1810/isos/x86_64/CentOS-7-x86_64-Minimal-1810.iso > I am able to get the A

Re: [packer] Docker "RUN" how-to!

2019-02-14 Thread Daniel Ortega
Hi all, I think there is som confusion of what RUN in a Dockerfile does > I don't agree, my problem it's about something that is called "docker builder" in Packer cannot be used to build anything (as I cannot execute any "RUN" command). Maybe it's a semantic question. So to produce a image tha

Re: [packer] Re: CentOS AMI problem with Packer build

2019-02-14 Thread Rickard von Essen
Most likely your AMI built from a ISO doesn't function correctly. Launch one with the cli and successfully connect to it with ssh. If you have problems check the system console log. On Thu, Feb 14, 2019, 09:59 > > On Thursday, February 14, 2019 at 2:21:06 PM UTC+5:30, > santosh...@acquia.com wrot

Re: [packer] Docker "RUN" how-to!

2019-02-14 Thread Rickard von Essen
Since I fail to explain how this works I suggest that you post an example Dockerfile here and I'll translate it to a similar Packer template. On Thu, Feb 14, 2019 at 2:57 PM Daniel Ortega wrote: > Hi all, > > I think there is som confusion of what RUN in a Dockerfile does >> > > I don't agree, m

Re: [packer] Docker "RUN" how-to!

2019-02-14 Thread Vincent Rubiolo
Hi Daniel, On 2/14/19 5:57 AM, Daniel Ortega wrote: > > I think there is som confusion of what RUN in a Dockerfile does > > > I don't agree, my problem it's about something that is called "docker > builder" in Packer cannot be used to build anything (as I cannot > execute any "RUN" command). M

Re: [packer] copy ami to other regions issue

2019-02-14 Thread Frank Dias
this seems like a lot of work for a function that was working and now we have to go though so many hacks to make thinks work again. I feel that what I have found and run into is a huge bugs, this worked and it is now broken. just venting... frank On Thursday, February 14, 2019 at 2:34:48 AM U

[packer] What's the best way to contribute to improving documentation?

2019-02-14 Thread Cody Hussey
I believe issues on GitHub is usually used for actual bugs and not problems or suggestions for documentation. What's the best option here? Thanks! Cody -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in v

Re: [packer] What's the best way to contribute to improving documentation?

2019-02-14 Thread Megan Marsh
We use github for docs contributions all the time -- open a PR with your improvement :D -- 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