/packer-templates

Personal packer templates

Primary LanguageShellOtherNOASSERTION

Packer Templates

Packer templates for building base VM boxes. Curently the following operating systems are supported:

  • CentOS-7
  • CentOS-8
  • Ubuntu Server 14.04 (trusty) x86_64
  • Ubuntu Server 16.04 (xenial) x86_64
  • Ubuntu Server 18.04 (bionic) x86_64

Usage

Installing Packer

Download the latest packer from http://www.packer.io/downloads.html and unzip the appropriate directory.

If you are an macOS user consider installing packer using Homebrew:

$ brew tap homebrew/binary
$ brew install packer
$ brew install packer-completion [optional for bash autocompletion]

Running Packer

$ git clone https://github.com/mirolli/packer-templates
$ cd packer-templates/<box-definition-dir>/
$ packer build <template_name>.json

Supported versions

These templates was tested using a packer 1.6.2

Credits

These packer templates were built by considering different sources of inspiraiton. Therefore credits to whom it belongs:

  • Mitchell Hashimoto (mitchellh)
  • Patrick Debois (jedi4ever)
  • 時雨堂(shiguredo)
  • Jeff Geerling (geerlingguy)

Changelog

See git shortlog for the list of changes.