Don't include folder if it is disabled
This commit is contained in:
parent
083fe5ea82
commit
2bd9c995e9
@ -374,6 +374,7 @@ module Vagrant
|
||||
folders = Vagrant::Plugin::V2::SyncedFolder::Collection.new
|
||||
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"
|
||||
sf = Vagrant::Plugin::V2::SyncedFolder.new(f[:plugin])
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user