Skip to content

Instantly share code, notes, and snippets.

Robert LogicalChaos

Block or report user

Report or block LogicalChaos

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile

Keybase proof

I hereby claim:

  • I am logicalchaos on github.
  • I am logicalchaos ( on keybase.
  • I have a public key ASBN_kMYXRo_PEXr57-R9SV09zhJM8v_4hdBR_uKH_iW0wo

To claim this, I am signing this object:

LogicalChaos / Vagrantfile
Created Jan 8, 2015
Add to ~/.vagrant.d directory to put vagrant meta directories (hence VM) in a common directory based on the current directory name.
View Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
if !ARGV.find { |arg| /global/ =~ arg } and !ENV['VAGRANT_DOTFILE_PATH'] and File.exists?('.vagrant.keep')
abort '.vagrant.keep file is present but VAGRANT_COMMON_DIRECTORY_ROOT is not set'
pn = Pathname::pwd
You can’t perform that action at this time.