百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
V

vagrant-vbox-snapshot

> 编程语言
开源

一个用于封装 "VBoxManage snapshot" 的 Vagrant 插件

377 stars0 点赞2 次浏览
访问官网GitHub

工具介绍

一个用于封装 "VBoxManage snapshot" 的 Vagrant 插件

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]    # 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]  # delete specified snapshot
 vagrant snapshot go [vm-name]      # restore specified snapshot

Caveats

  • Not compatible with Vagrant <1.1. If you need this, try another solution.

Other solutions

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

  • vagrant-snap
    • fork with Vagrant 1.0.4-1.0.7 compatibility: https://gist.github.com/tombh/5142237 source
  • sahara
    • supports 1.1

Development

To develop on this plugin, do the following:

bash
# 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.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Ruby

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言