plugin: Give the provider a higher priority over Vagrant's builtin VBox provider

This commit is contained in:
Fabio Rehm 2015-01-08 00:55:19 -02:00
parent 2a48f366d4
commit 2a667b88b6
2 changed files with 6 additions and 1 deletions

View file

@ -4,6 +4,11 @@ BACKWARDS INCOMPATIBILITIES:
- Support for Vagrant versions prior to 1.5 have been removed. - Support for Vagrant versions prior to 1.5 have been removed.
IMPROVEMENTS:
- The provider will now have a higher priority over the VirtualBox provider
in case VirtualBox is installed alongside lxc dependecies.
## [1.0.1](https://github.com/fgrehm/vagrant-lxc/compare/v1.0.0...v1.0.1) (Oct 15, 2014) ## [1.0.1](https://github.com/fgrehm/vagrant-lxc/compare/v1.0.0...v1.0.1) (Oct 15, 2014)

View file

@ -9,7 +9,7 @@ module Vagrant
LXC-based virtual machines. LXC-based virtual machines.
EOF EOF
provider(:lxc, parallel: true) do provider(:lxc, parallel: true, priority: 7) do
require File.expand_path("../provider", __FILE__) require File.expand_path("../provider", __FILE__)
I18n.load_path << File.expand_path(File.dirname(__FILE__) + '/../../locales/en.yml') I18n.load_path << File.expand_path(File.dirname(__FILE__) + '/../../locales/en.yml')