Communicators to v2 plugins.

This commit is contained in:
Mitchell Hashimoto 2012-11-06 21:14:10 -08:00
parent 78a1e5726e
commit 45f211b19e
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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