Repository is archived
No commit activity in last 3 years
No release in over 3 years
Enables Vagrant to package a running VMware environment into a box
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.16
~> 10.0
 Project Readme

Important Notice

This project is no longer being maintained. It has been made obsolete by the release of the Vagrant VMware Desktop Plugin, which now includes support for the Vagrant package command.

vagrant-package-vmware

vagrant-package-vmware is a Vagrant plugin for packaging a running VMware vagrant environment into a box.

Installation

Use vagrant plugin to install the gem in your Vagrant environment:

$ vagrant plugin install vagrant-package-vmware

Usage

$ vagrant package-vmware -h

Usage: vagrant package-vmware [options] [name|id]

Options:

        --output NAME                Name of the file to output
        --include FILE,FILE..        Comma separated additional files to package with the box
        --vagrantfile FILE           Vagrantfile to package with the box
    -h, --help                       Print this help

Example

$ vagrant package-vmware 7d54359 --output new.box

Cloning machine...
Compressing package to: /Users/vagrant/new.box

Development

The vagrant-vmware-fusion plugin really doesn't like being loaded from a vendor'ed vagrant, so you can't use the usual technique of bundle exec vagrant ... to test this plugin. The following commands build and install the checked-out gem:

$ bundle exec rake build
$ vagrant plugin uninstall vagrant-package-vmware
$ vagrant plugin install pkg/vagrant-package-vmware-*.gem
$ vagrant package-vmware -h

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/bacongravy/vagrant-package-vmware.