mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-05-28 04:36:05 -04:00
Return remote plugin instances
This commit is contained in:
parent
4a9d501823
commit
a5b3ca9f6d
2 changed files with 3 additions and 3 deletions
|
|
@ -131,7 +131,7 @@ module Vagrant
|
|||
def communicate
|
||||
@logger.debug("Getting communicator from client")
|
||||
if !@communicate
|
||||
@communicate = Vagrant::Plugin::V2::Communicator.new(self)
|
||||
@communicate = Vagrant::Plugin::Remote::Communicator.new(self)
|
||||
end
|
||||
@communicate
|
||||
end
|
||||
|
|
@ -306,7 +306,7 @@ module Vagrant
|
|||
next if f[:folder][:disabled]
|
||||
# TODO: get type of synced folder
|
||||
impl = :virtualbox
|
||||
sf = Vagrant::Plugin::V2::SyncedFolder.new(client: f[:plugin])
|
||||
sf = Vagrant::Plugin::Remote::SyncedFolder.new(client: f[:plugin])
|
||||
# Set plugin, guestpath and hostpath from synced folder info
|
||||
folders[impl] = {f[:folder][:destination] => f[:folder].merge({
|
||||
plugin: sf,
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ module VagrantPlugins
|
|||
end
|
||||
|
||||
def converter(client)
|
||||
Vagrant::Plugin::V2::SyncedFolder.new(client: client)
|
||||
Vagrant::Plugin::Remote::SyncedFolder.new(client: client)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue