Skip to content

Instantly share code, notes, and snippets.

View caraboides's full-sized avatar

Christian Hennig caraboides

View GitHub Profile
@t9md
t9md / vagrant-snapshot.rb
Created June 4, 2011 16:21
vagrant snapshot management command for one vm.
## place this file to same directory of `Vagrantfile' then simply require "snap.rb" in Vagrantfile
module Snap
module VBox
class SnapShot
require "forwardable"
extend Forwardable
def_delegators :@snap, :name, :uuid, :time_stamp
@@snaps = []
class << self