From 1441ea74d2ab5dc6a16f42009132da8f1ccaf2e1 Mon Sep 17 00:00:00 2001 From: sophia Date: Mon, 28 Feb 2022 17:27:08 -0600 Subject: [PATCH] Get sf type from folders --- lib/vagrant/machine/remote.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/vagrant/machine/remote.rb b/lib/vagrant/machine/remote.rb index 167d93e92..ff33874fc 100644 --- a/lib/vagrant/machine/remote.rb +++ b/lib/vagrant/machine/remote.rb @@ -300,8 +300,7 @@ module Vagrant synced_folder_clients = client.synced_folders synced_folder_clients.each do |f| next if f[:folder][:disabled] - # TODO: get type of synced folder - impl = :virtualbox + impl = f[:folder][:type].to_sym sf = Vagrant::Plugin::Remote::SyncedFolder.new(client: f[:plugin]) # Set plugin, guestpath and hostpath from synced folder info new_folder = {f[:folder][:destination] => f[:folder].merge({