Set the client using keyword for synced folder

This commit is contained in:
Chris Roberts 2021-12-17 17:12:24 -08:00 committed by Paul Hinze
parent 8676b13363
commit d67aaff74a
No known key found for this signature in database
GPG Key ID: B69DEDF2D55501C0

View File

@ -370,8 +370,8 @@ module Vagrant
synced_folder_clients.each do |f|
next if f[:folder][:disabled]
# TODO: get type of synced folder
impl = "virtualbox"
sf = Vagrant::Plugin::V2::SyncedFolder.new(f[:plugin])
impl = :virtualbox
sf = Vagrant::Plugin::V2::SyncedFolder.new(client: f[:plugin])
# Set plugin, guestpath and hostpath from synced folder info
folders[impl] = {f[:folder][:destination] => f[:folder].merge({
plugin: sf,