Skip to content

Instantly share code, notes, and snippets.

@pidah
pidah / gist:10369211
Created April 10, 2014 11:09
virtualbox-4.3.10-vagrant-1.5.2-fix
If you are running Virtualbox 4.3.10 , Vagrant 1.5.2 and run into the following error on a Mac OSX mavericks host -
default: /vagrant => /xxxxx/xxxxx/xxxxx
Failed to mount folders in Linux guest. This is usually because
the "vboxsf" file system is not available. Please verify that
the guest additions are properly installed in the guest and
can work properly. The command attempted was:
mount -t vboxsf -o uid=`id -u vagrant`,gid=`getent group vagrant | cut -d: -f3` /vagrant /vagrant
mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g vagrant` /vagrant /vagrant
@pidah
pidah / multi_aws_region_vagrantfile
Created July 11, 2013 11:32
deploy multiple (in this case 2) AWS instances in different regions in a single Vagrantfile
Vagrant.require_plugin "vagrant-aws"
Vagrant.configure("2") do |config|
config.vm.define :usa do |usa_config|
usa_config.vm.provider :aws do |aws, override|
override.vm.box = "ubuntu_aws"
override.vm.box_url = "https://github.com/mitchellh/vagrant-aws/raw/master/dummy.box"
override.ssh.private_key_path = ".vagrant/web.pem"