Created: 2012-03-23 17:28
Updated: 2014-07-11 13:09
License: mit


Common vagrant provisioning (certificates and sandbox rpms) for forge sandbox hidden in a gem.

Requires vagrant base box converted from forge sandbox.


Add this line to your application's Gemfile:

gem 'vagrant-forge-sandbox', git: ""
gem 'vagrant-vbguest' # not required but strongly advised

Install bundle:

$ bundle

You need to specify your dev certificate (passwordless, in .pem format) in Vagrantfile:

config.forge_sandbox.cert = "./my_dev_bbc_cert.pem"

This will end up in /root/.yum/ on a sandbox whether you need it later for any project specific provisioning.

Use the following to generate a passwordless one from p12:

$ openssl pkcs12 -in my_dev_bbc_cert.p12 -out my_dev_bbc_cert.pem -nodes

You can now run vagrant up/provision and it will automatically take care of keeping forge rpms up-to-date and certs set up.


  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request


Artem Avetisyan

Cookies help us deliver our services. By using our services, you agree to our use of cookies Learn more