marina-lab / packer-templates

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

packer-templates

Packer template(s).

Currently contains a Centos 7 template with Vagrant post-processor. Installation is automated via kickstart.

The current intention is to create a docker host for local use.

Inspired by https://github.com/tacahilo/packer-centos-7

How to use

Install Packer

Packer docs

Install Virtualbox

VirtualBox Downloads

Build

  • Validate template

    packer validate basebox.json

  • Initiate build

    packer build basebox.json

TODO

  • None right now!

Notes

  • When debugging build issues, remove headless flag from basebox.json
  • For faster build, download iso and modify iso_url value in basebox.json to fs path - Note: this might not be necessary. Subsequent builds seem to use a cached copy of the downloaded iso.

About