2017 © Pedro Peláez
 

project vagrant-boxer

Create re-usable base boxes for Vagrant

image

vube/vagrant-boxer

Create re-usable base boxes for Vagrant

  • Wednesday, March 11, 2015
  • by ross-p
  • Repository
  • 2 Watchers
  • 19 Stars
  • 48 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 4 Forks
  • 0 Open issues
  • 13 Versions
  • 0 % Grown

The README.md

Vagrant Boxer

Build Status Coverage Status Latest Stable Version Dependency Status, (*1)

Application to manage boxing up Vagrant VMs to be used as base boxes for use in private box distribution systems., (*2)

A complete example can be found here: vagrant-boxer-example, (*3)

Features

  • Automatically package up Virtual Machines into reusable base boxes for use by other Vagrant configs., (*4)

  • Automatically create/update vagrant-catalog metadata.json files so you can run your own private internal Vagrant Cloud., (*5)

  • Automatically upload VM box images and metadata files to your file server., (*6)

Installation

To install, clone this repository and put it wherever you want it to live on your machine., (*7)

$ git clone https://github.com/vube/vagrant-boxer
$ cd vagrant-boxer
$ composer update

Then you can optionally symlink something like /usr/local/bin/boxer.php to this so it will run from your path just by typing boxer.php, (*8)

$ sudo ln -sf /path/to/vagrant-boxer/boxer.php /usr/local/bin/boxer.php

Example Usage

vagrant-boxer works either from command line switches or using a boxer.json config file. Here are examples of both., (*9)

Usage via command line

Note that the {BASENAME} below should be substituted with the name of the VM in your VirtualBox list., (*10)

$ boxer.php --verbose --base "{BASENAME}" --boxer-id "your-company/{BASENAME}"  --major-version 1.0 --url-prefix "http://your-file-server.com/" --upload-base-uri "username@your-file-server.com:/path/to/docroot"

Note: If you don't have rsync on your system, you can set the --upload-method scp flags on the command line to use scp instead. You can pass any command here that takes arguments in the form command src1..srcN destination, (*11)

Usage via boxer.json

Here again, {BASENAME} should be substituted with the name of the VM in your VirtualBox list., (*12)

Running boxer.php using boxer.json

$ boxer.php --verbose --config-file /path/to/boxer.json

Contents of boxer.json

{
    "vm-name": "{BASENAME}",
    "boxer-id": "your-company/{BASENAME}",
    "version": "1.0",
    "download-url-prefix": "http://your-file-server.com/",
    "upload-base-uri": "username@your-file-server.com:/path/to/docroot"
}

Dependencies

  • PHP 5.3.2+
  • Composer

The Versions

11/03 2015

dev-master

9999999-dev

Create re-usable base boxes for Vagrant

  Sources   Download

MIT

The Requires

 

The Development Requires

vagrant packager vube vagrant box

11/03 2015

dev-develop

dev-develop

Create re-usable base boxes for Vagrant

  Sources   Download

MIT

The Requires

 

The Development Requires

vagrant packager vube vagrant box

11/03 2015

0.6.1

0.6.1.0

Create re-usable base boxes for Vagrant

  Sources   Download

MIT

The Requires

 

The Development Requires

vagrant packager vube vagrant box

13/11 2014

0.6.0

0.6.0.0

Create re-usable base boxes for Vagrant

  Sources   Download

MIT

The Requires

 

The Development Requires

vagrant packager vube vagrant box

11/11 2014

0.5.2

0.5.2.0

Create re-usable base boxes for Vagrant

  Sources   Download

MIT

The Requires

 

The Development Requires

vagrant packager vube vagrant box

09/11 2014

0.5.1

0.5.1.0

Create re-usable base boxes for Vagrant

  Sources   Download

MIT

The Requires

 

The Development Requires

vagrant packager vube vagrant box

29/05 2014

0.5.0

0.5.0.0

Create re-usable base boxes for Vagrant

  Sources   Download

MIT

The Requires

  • php >=5.3.2

 

The Development Requires

vagrant packager vube vagrant box

19/05 2014

0.4.1

0.4.1.0

Create re-usable base boxes for Vagrant

  Sources   Download

MIT

The Requires

  • php >=5.3.2

 

The Development Requires

vagrant packager vube vagrant box

07/05 2014

0.4.0

0.4.0.0

Create re-usable base boxes for Vagrant

  Sources   Download

MIT

The Requires

  • php >=5.3.2

 

The Development Requires

vagrant packager vube vagrant box

06/05 2014

0.3.0

0.3.0.0

Create re-usable base boxes for Vagrant

  Sources   Download

MIT

The Requires

  • php >=5.3.2

 

The Development Requires

vagrant packager vube vagrant box

02/05 2014

0.2.0

0.2.0.0

Create re-usable base boxes for Vagrant

  Sources   Download

MIT

The Requires

  • php >=5.3.2

 

The Development Requires

vagrant packager vube vagrant box

30/04 2014

0.1.1

0.1.1.0

Create re-usable base boxes for Vagrant

  Sources   Download

MIT

The Requires

  • php >=5.3.2

 

The Development Requires

vagrant packager vube vagrant box

30/04 2014

0.1.0

0.1.0.0

Create re-usable base boxes for Vagrant

  Sources   Download

MIT

The Requires

  • php >=5.3.2

 

The Development Requires

vagrant packager vube vagrant box