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

[not maintained] 🎓 Packer basic configuration to build VirtualBox

License

Notifications You must be signed in to change notification settings

sotayamashita/packer-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

[not maintained] 🎓 Packer basic configuration to build VirtualBox

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published