Packer templates for Vagrant base boxes
Switch branches/tags
Nothing to show
Clone or download
kaorimatz Merge pull request #37 from netoarmando/add-fedora-28
Add Fedora 28 (fedora-28-x86_64.json)
Latest commit 6a0331e Jun 16, 2018
Permalink
Failed to load latest commit information.
http Add Fedora 28 Jun 1, 2018
scripts CentOS 7.4: update epel-release to 7.11 Jun 16, 2018
spec CentOS: os[:family] is "redhat" Nov 25, 2017
vagrantfile_templates Drop support for OmniOS Apr 1, 2018
vars Remove redundant option in vars/release.json Jul 2, 2016
.gitignore Ignore output directory Dec 1, 2014
.travis.yml travis: bump Packer version to 1.2.2 Apr 2, 2018
Gemfile Bundle update Oct 13, 2014
Gemfile.lock Bundle update Aug 13, 2017
LICENSE Add LICENSE Feb 14, 2014
README.md Update README.md Jul 17, 2016
Rakefile Follow redirects when checking ISO URL Jun 16, 2018
Vagrantfile Fix tests for QEMU Nov 3, 2016
archlinux-x86_64.json Arch Linux: update to 2017.04.01 ISO Apr 1, 2018
centos-6.9-x86_64.json Remove ethernet interfaces from VMX setting Nov 25, 2017
centos-7.4-x86_64.json Centos 7.4: update ISO from 1704 to 1804 Jun 2, 2018
debian-7.11-amd64.json Remove ethernet interfaces from VMX setting Nov 25, 2017
debian-8.10-amd64.json Merge pull request #28 from enderqa/update_debian8_9 Apr 1, 2018
debian-9.4-amd64.json Debian: update from 9.3 to 9.4 Apr 1, 2018
fedora-26-x86_64.json Add a template for Fedora 26 (x86_64) Apr 1, 2018
fedora-27-x86_64.json Add a template for Fedora 27 (x86_64) Apr 1, 2018
fedora-28-x86_64.json Add Fedora 28 Jun 1, 2018
freebsd-10.4-amd64.json FreeBSD: update from 10.3 to 10.4 Apr 1, 2018
freebsd-11.1-amd64.json Remove ethernet interfaces from VMX setting Nov 25, 2017
freebsd-9.3-amd64.json Remove ethernet interfaces from VMX setting Nov 25, 2017
openbsd-6.1-amd64.json Remove ethernet interfaces from VMX setting Nov 25, 2017
openbsd-6.2-amd64.json Add a template for OpenBSD 6.2 (amd64) Apr 1, 2018
openbsd-6.3-amd64.json Add OpenBSD 6.3 (openbsd-6.3-amd64.json) Apr 12, 2018
ubuntu-14.04-amd64.json Remove ethernet interfaces from VMX setting Nov 25, 2017
ubuntu-16.04-amd64.json Ubuntu 16.04: update to 16.04.4 ISO Apr 1, 2018
ubuntu-17.10-amd64.json Add a template for Ubuntu 17.10 (amd64) Apr 1, 2018
vyos-1.1.7-amd64.json Remove ethernet interfaces from VMX setting Nov 25, 2017

README.md

packer-templates

Travis

Packer templates for Vagrant base boxes

Usage

Clone the repository:

$ git clone https://github.com/kaorimatz/packer-templates && cd packer-templates

Build a machine image from the template in the repository:

$ packer build -only=virtualbox-iso archlinux-x86_64.json

Add the built box to Vagrant:

$ vagrant box add archlinux-x86_64 archlinux-x86_64-virtualbox.box

Configuration

You can configure each template to match your requirements by setting the following user variables.

User Variable Default Value Description
compression_level 6 Documentation
cpus 1 Number of CPUs
disk_size 40000 Documentation
headless 0 Documentation
memory 512 Memory size in MB
mirror A URL of the mirror where the ISO image is available

Example

Build an uncompressed Arch Linux vagrant box with a 4GB hard disk using the VirtualBox provider:

$ packer build -only=virtualbox-iso -var compression_level=0 -var disk_size=4000 archlinux-x86_64.json

Pre-built Boxes

You can also use the pre-built boxes hosted on Atlas.

$ vagrant box add kaorimatz/archlinux-x86_64