Skip to content

Instantly share code, notes, and snippets.

@nikolashermann
Forked from ocxo/gist:ce376fb4ab3298392048
Created December 23, 2014 11:20
Show Gist options
  • Save nikolashermann/b9c079a75cfda1105757 to your computer and use it in GitHub Desktop.
Save nikolashermann/b9c079a75cfda1105757 to your computer and use it in GitHub Desktop.
# temporary hack to address bug with vagrant-vbguest installation
# https://github.com/mitchellh/vagrant/issues/4962
if awk "BEGIN {exit `vagrant -v` == "1.7.1" ? 0 : 1 }"
then
sudo sed --in-place=.original 's/\*\*opts/opts/g' /opt/vagrant/embedded/gems/gems/vagrant-1.7.1/lib/vagrant/machine.rb
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment