Skip to content

Vagrant plugin to check your downloaded boxes and remove every box that is not the lastest downloaded version

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.txt
Notifications You must be signed in to change notification settings

danielpanteleit/vagrant-remove-old-box-versions

 
 

Repository files navigation

Vagrant remove old box versions plugin

This plugin enables you to automatically remove old vagrant boxes from you host. Just run vagrant remove-old-versions and it will check your downloaded boxes and remove every box that is not the lastest downloaded version.

Internally it uses vagrant box list to get a list of boxes, and vagrant box remove --box-version xxx --provider xxx so it still has all safeguards you expect from vagrant.

Gem Version

Installation

vagrant plugin install vagrant-remove-old-box-versions

Usage

Usage: vagrant remove-old-versions [options]

Options:

    -p, --provider PROVIDER          The specific provider type for the boxes to destroy.
    -n, --dry-run                    Only print the boxes that would be removed.
        --name NAME                  The specific box name to destroy.
    -f, --force                      Destroy without confirmation even when box is in use.

Contributing

This plugin is built and maintained by Björn Brala Bug reports and pull requests are welcome on GitHub at swisnl/vagrant-remove-old-box-versions.

License

The gem is available as open source under the terms of the MIT License.

Changelog

[1.0.0] 2016-01-13

  • Initial release.

About

Vagrant plugin to check your downloaded boxes and remove every box that is not the lastest downloaded version

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.txt

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 98.6%
  • Shell 1.4%