Coder Social home page Coder Social logo

vagrant-vbox-snapshot's Introduction

vagrant-vbox-snapshot

Vagrant plugin that exposes the VBoxManage snapshot command.

As of Q4 2015, the vagrant snapshot command is provided by core Vagrant. Consider using it in preference to this plugin.

Install

Ensure you have Vagrant 1.1+ installed, then run:

vagrant plugin install vagrant-vbox-snapshot

Usage

The following commands are added by this plugin:

 vagrant snapshot take [vm-name] <SNAPSHOT_NAME>   # take snapshot, labeled by NAME
 vagrant snapshot list [vm-name]                   # list snapshots
 vagrant snapshot back [vm-name]                   # restore last taken snapshot
 vagrant snapshot delete [vm-name] <SNAPSHOT_NAME> # delete specified snapshot
 vagrant snapshot go [vm-name] <SNAPSHOT_NAME>     # restore specified snapshot

Caveats

Other solutions

This plugin is primarily a port of vagrant-snap to Vagrant 1.1.

Development

To develop on this plugin, do the following:

# get the repo, and then make a feature branch (REPLACE WITH YOUR FORK)
git clone https://github.com/dergachev/vagrant-vbox-snapshot.git
cd vagrant-vbox-snapshot
git checkout -b MY-NEW-FEATURE

# installs the vagrant gem, which is a dev dependency
bundle install 

# hack on the plugin
vim lib/vagrant-vbox-snapshot.rb # or any other file

# test out your changes, in the context provided by the development vagrant gem, and the local Vagrantfile.
bundle exec vagrant snapshot ...

# commit, push, and do a pull-request

See DEVNOTES.md for the notes I compiled while developing this plugin.

vagrant-vbox-snapshot's People

Contributors

berendt avatar brandondrew avatar dergachev avatar fgrehm avatar supercow avatar tomylobo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.