Skip to content

Plugin to load Vagrant boxes generated by Packer to a private repository

License

Notifications You must be signed in to change notification settings

abielikesu/vboxrepo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Purpose:

Create a Post-processor plugin that will:

  • Store new Vagrant boxes created with packer to a central repository
  • Version the boxes

Ideas:

  • Central repo is a shared Samba dir
  • Updates the Vagrant .json file
  • Each new box file, will be have the version appended to the file name

Examples:

  • Assume a new ubuntu vagrant box was created using packer

--> packer build ubuntu-15.04.json

==> Builds finished. The artifacts of successful builds are: --> virtualbox-iso: 'virtualbox' provider box: ubuntu-15.04.box

  • Upload the new box to the central repository

--> vboxrepo ubuntu 0.1 ubuntu-15.04.box "Ubuntu 15.04 box"

Reference: https://github.com/hollodotme/Helpers/blob/master/Tutorials/vagrant/self-hosted-vagrant-boxes-with-versioning.md

About

Plugin to load Vagrant boxes generated by Packer to a private repository

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages