Skip to content
This repository has been archived by the owner on Nov 30, 2017. It is now read-only.

Latest commit

 

History

History
79 lines (46 loc) · 1.49 KB

README.md

File metadata and controls

79 lines (46 loc) · 1.49 KB

Example Badge

packer-example

This repository is typically for the purposes of internal testing and demonstration based on hashicorp/best-practices to build Amazon EC2 (AMI), Docker and VirtualBox but I'm keenly aware people are using it for theirs so You're always welcome to make suggestions, however I may decline if it's not of personal value to me 😄

Setup

Required software

Building

Build AWS

$ cd packer
$ packer build --only=amazon-ebs ./packer/aws/base.json

Build Docker

$ cd packer
$ packer build --only= ./packer/docker/base.json

Build VirtualBox

$ cd packer
$ packer build --only=virtualbox-iso vagrant/base.json

Usage

Add Vagrant box

Give box's name you would like to use:

$ vagrant box add <box name> /path/to/~.box
$ vagrant up

Release

Run release script:

$ ./utils/release.sh

Linux distribution

  • CentOS 7

Providers

  • Amazon EC2 (AMI)
  • Docker
  • VirtualBox

License

MIT © Sota Yamashita