commit | 31f14ed99bc6e13c059f6176a8392ff5f2fadeaf | [log] [tgz] |
---|---|---|
author | d <pono@apache.org> | Mon Nov 07 16:55:03 2016 +0100 |
committer | d <pono@apache.org> | Mon Nov 07 16:55:03 2016 +0100 |
tree | 893f335d6d12c850d0cd53a128749a33ec46fb78 | |
parent | 36cb1ae35e07e7ed6459cc81ae517a230a06302c [diff] |
first try for 16.04
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.
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 :)