Questions tagged [packer]

Packer automates the creation of any type of machine image. It embraces modern configuration management by encouraging you to use automated scripts to install and configure the software within your Packer-made images.

Packer automates the creation of any type of machine image. It embraces modern configuration management by encouraging you to use automated scripts to install and configure the software within your Packer-made images.

33 questions
13
votes
4 answers

Is there an idiomatic way to create reusable Packer templates?

I'm creating about 10-12 Packer templates which almost all work the same way. Same builder (Amazon EBS), with some small variations in AMI names, and almost the same provisioner (Ansible Remote) - sometimes with additional variables and sometimes…
Tim Malone
  • 1,215
  • 1
  • 13
  • 26
7
votes
2 answers

Is it possible to locate the temp keypair generated by Packer?

I`m creating a new image and everything is working. I would like to debug via ssh during the instance creation. A temp keypair is created and attached to the temp instance. My question is, can I get this keypair somewhere in order to debug it? ==>…
armandomiani
  • 171
  • 1
  • 5
4
votes
1 answer

How can I chain Packer builds within a single template

I would like to define a single Packer template that consists of 3 builds; each one building upon the previous: source "amazon-ebs" "base" { source_ami_filter { filters { ... } } build { name = "build_1" source "amazon-ebs.base"…
3
votes
2 answers

Packer and compressed ISO images

I am not using packer yet, just looking through the documentation. Some VMs it supports can be built from iso images. The examples cover use cases where the ISO is available online through the iso_url key in the JSON description file. But, can…