From 2a667b88b60c3b3366cb5ed17e175aa4275c3450 Mon Sep 17 00:00:00 2001 From: Fabio Rehm Date: Thu, 8 Jan 2015 00:55:19 -0200 Subject: [PATCH] plugin: Give the provider a higher priority over Vagrant's builtin VBox provider --- CHANGELOG.md | 5 +++++ lib/vagrant-lxc/plugin.rb | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d861fff..c2867c2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ BACKWARDS INCOMPATIBILITIES: - 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) diff --git a/lib/vagrant-lxc/plugin.rb b/lib/vagrant-lxc/plugin.rb index 31d3adf..bf8f4dd 100644 --- a/lib/vagrant-lxc/plugin.rb +++ b/lib/vagrant-lxc/plugin.rb @@ -9,7 +9,7 @@ module Vagrant LXC-based virtual machines. EOF - provider(:lxc, parallel: true) do + provider(:lxc, parallel: true, priority: 7) do require File.expand_path("../provider", __FILE__) I18n.load_path << File.expand_path(File.dirname(__FILE__) + '/../../locales/en.yml')