Providers to V2
This commit is contained in:
parent
5a33b7ee54
commit
81ca275792
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue