Description

Sahara allows vagrant to operate in sandbox mode.

Typical usage:

  • Enter sandbox mode:
    vagrant sandbox on
  • Do some stuff:
    vagrant ssh 
  • If satisfied, apply the changes permanently:
    vagrant sandbox commit
  • If not satisfied, rollback to the previous commit:
    vagrant sandbox rollback
  • Exit sandbox mode:
    vagrant sandbox off

Many kudos go to the creators of vagrant

Installation

This is now available as gem:

gem install sahara

Windows Notes

It works on Windows, but you need to have:

  • Vagrant 1.0.x installed (with patch for issue#817)
  • VBoxManage.exe in the PATH
    set PATH=C:\Program Files\Oracle\VirtualBox\;%PATH%
  • grep.exe and cut.exe in the PATH:
    set PATH=D:\vagrant\embedded\bin;%PATH%