Providers to V2

This commit is contained in:
Mitchell Hashimoto 2012-11-06 21:20:55 -08:00
parent 5a33b7ee54
commit 81ca275792
3 changed files with 3 additions and 3 deletions

View File

@ -434,7 +434,7 @@ module Vagrant
# Loads the persisted VM (if it exists) for this environment.
def load_vms!
# This is hardcoded for now.
provider = Vagrant.plugin("1").manager.providers[:virtualbox]
provider = Vagrant.plugin("2").manager.providers[:virtualbox]
raise "VirtualBox provider not found." if !provider

View File

@ -2,7 +2,7 @@ require "vagrant"
module VagrantPlugins
module ProviderVirtualBox
class Plugin < Vagrant.plugin("1")
class Plugin < Vagrant.plugin("2")
name "VirtualBox provider"
description <<-EOF
The VirtualBox provider allows Vagrant to manage and control

View File

@ -2,7 +2,7 @@ require "log4r"
module VagrantPlugins
module ProviderVirtualBox
class Provider < Vagrant.plugin("1", :provider)
class Provider < Vagrant.plugin("2", :provider)
attr_reader :driver
def initialize(machine)