/packer-qemu-templates

Packer template files for building boxes which can be run with libvirt

Primary LanguageShellGNU General Public License v3.0GPL-3.0

Packer QEMU Templates

Travis CI

Packer template files for building boxes which can be run by Vagrant using the vagrant-libvirt. provider.

Provided templates

  • CentOS-7-1511-x86_64.json: Minimal vanilla CentOS 7.2 (1511) installation with a multi-partition setup using LVM
  • Debian-Jessie-8.5-x86_64: Minimal vanilla Debian Jessie 8.5 installation with a multi-partition setup using LVM

Building a box

To build a box from the provided template file, clone the repository and run the following command in the corresponding template directory:

$ packer build <template>.json

This will startup qemu and bootstrap a VM using kickstart or preseed. You may want to review the corresponding configuration files in the http/ subdirectory of the template directory.

Further reading

You can find more documentation about the involved technologies in the following links: