mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
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.
This commit is contained in:
parent
e410100baa
commit
e693b017dd
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user