Communicators to v2 plugins.
This commit is contained in:
parent
78a1e5726e
commit
45f211b19e
|
@ -116,7 +116,7 @@ module Vagrant
|
|||
if !@communicator
|
||||
# For now, we always return SSH. In the future, we'll abstract
|
||||
# this and allow plugins to define new methods of communication.
|
||||
klass = Vagrant.plugin("1").manager.communicators[:ssh]
|
||||
klass = Vagrant.plugin("2").manager.communicators[:ssh]
|
||||
@communicator = klass.new(self)
|
||||
end
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ require 'vagrant/util/ssh'
|
|||
module VagrantPlugins
|
||||
module CommunicatorSSH
|
||||
# This class provides communication with the VM via SSH.
|
||||
class Communicator < Vagrant.plugin("1", :communicator)
|
||||
class Communicator < Vagrant.plugin("2", :communicator)
|
||||
include Vagrant::Util::ANSIEscapeCodeRemover
|
||||
include Vagrant::Util::Retryable
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ require "vagrant"
|
|||
|
||||
module VagrantPlugins
|
||||
module CommunicatorSSH
|
||||
class Plugin < Vagrant.plugin("1")
|
||||
class Plugin < Vagrant.plugin("2")
|
||||
name "ssh communiator"
|
||||
description <<-DESC
|
||||
This plugin allows Vagrant to communicate with remote machines using
|
||||
|
|
Loading…
Reference in New Issue