Get sf type from folders

This commit is contained in:
sophia 2022-02-28 17:27:08 -06:00 committed by Paul Hinze
parent edc0e67851
commit 1441ea74d2
No known key found for this signature in database
GPG Key ID: B69DEDF2D55501C0

View File

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