Mirror of Apache Infrastructure packer templates

Clone this repo:

Branches

  1. 31f14ed first try for 16.04 by d · 7 years ago master
  2. 36cb1ae new packer for 16.04 by d · 7 years ago qemu
  3. 9318aff add vagrant json by Daniel Takamori · 8 years ago
  4. a88555f add 32bit packer definition by Geoffrey Corey · 8 years ago
  5. dd5f825 default to 10GB / by Geoffrey Corey · 8 years ago

Apache Infrastructure Packer

Packer is a tool for building virtual machines. Our team has used this to provide both vagrant images for local testing and cloud images for our production virtual machines.

Here's a quick run down of what it works.

How to build virtual machines and influence people

First you‘ll need to download packer. Once you’ve got that you'll need a solution for virtualizing to build the VM. On Debian I installed qemu-kvm and needed to add my user to the kvm group. Once that was done it was just a matter of making tweaks: adding packages, changing the resources to fit your local system, or playing with ponies. PACKER_LOG=1 /where/is/packer build ubuntu-16.04.json will start blazing. Currenly the VM uses 3gb RAM, 3 vCPU a 10GB disk to build and headless qemu as pono was the last person to commit.

This particular .json is currently being debugged :)