thariman / packer-qemu-templates

Packer qemu templates

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

##Introduction

The packer-qemu-templates is a project that provides packer templates for unattended building of relevant images in the qcow2 format.

In addition, all templates for use with Vagrant, through vagrant-libvirt, automatically creates a Vagrant box through the packer libvirt post-processor.

More info: http://blog.aarhusworks.com/slipstreaming-vm-imags-with-packer/

##Status

Currently the project includes templates for Ubuntu, Debian and Windows. In other words, the OSes of the VMs I use on a day-to-day basis.

Feel free to contribute more:-)

##Usage

###Build qcow2 image Go into the relevant template directory and run packer build on the relevant json file.

$ cd windows
$ packer build windows-2012-R2-standard-amd64.json

There is also a version with vagrant SSH keys included:

$ cd windows
$ packer build windows-2012-R2-standard-amd64-vagrant.json

Add the box to vagrant

$ vagrant box add windows-2012R2.box --name windows-2012R2

##Acknowledgements

About

Packer qemu templates

License:Mozilla Public License 2.0


Languages

Language:Shell 100.0%