From e693b017dd443135ae031c119cc3c998cad74187 Mon Sep 17 00:00:00 2001 From: Adam Spiers Date: Sat, 25 Oct 2014 14:35:31 +0100 Subject: [PATCH] don't monkey-patch #default_provider This monkey-patching of Vagrant::Environment#default_provider breaks with Vagrant 1.7.0, since the method's signature changed. In any case Vagrant should do the right thing without "help" from vagrant-libvirt. --- lib/vagrant-libvirt.rb | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/lib/vagrant-libvirt.rb b/lib/vagrant-libvirt.rb index c7204d9..825e5fa 100644 --- a/lib/vagrant-libvirt.rb +++ b/lib/vagrant-libvirt.rb @@ -27,13 +27,3 @@ module VagrantPlugins end end end - -# set provider by bash env -# export VAGRANT_DEFAULT_PROVIDER=libvirt -Vagrant::Environment.class_eval do - def default_provider - (ENV['VAGRANT_DEFAULT_PROVIDER'] || :virtualbox).to_sym - end -end - -