diff --git a/lib/vagrant/machine.rb b/lib/vagrant/machine.rb index 3c90f2872..2edcfc111 100644 --- a/lib/vagrant/machine.rb +++ b/lib/vagrant/machine.rb @@ -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 diff --git a/plugins/communicators/ssh/communicator.rb b/plugins/communicators/ssh/communicator.rb index 7b20ca164..24ee55eb7 100644 --- a/plugins/communicators/ssh/communicator.rb +++ b/plugins/communicators/ssh/communicator.rb @@ -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 diff --git a/plugins/communicators/ssh/plugin.rb b/plugins/communicators/ssh/plugin.rb index 10de987a4..825878519 100644 --- a/plugins/communicators/ssh/plugin.rb +++ b/plugins/communicators/ssh/plugin.rb @@ -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