From a317a4d50dc070bf7ced1d6aff92cc12033e9900 Mon Sep 17 00:00:00 2001 From: Max Lincoln Date: Wed, 17 Dec 2014 14:49:04 -0500 Subject: [PATCH] Ensure allowed_synced_folder_types is a list of symbols --- plugins/kernel_v2/config/vm.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/kernel_v2/config/vm.rb b/plugins/kernel_v2/config/vm.rb index 9d216a4d6..017eee59b 100644 --- a/plugins/kernel_v2/config/vm.rb +++ b/plugins/kernel_v2/config/vm.rb @@ -373,6 +373,10 @@ module VagrantPlugins @usable_port_range = (2200..2250) end + if @allowed_synced_folder_types + @allowed_synced_folder_types = Array(@allowed_synced_folder_types).map(&:to_sym) + end + # Make sure that the download checksum is a string and that # the type is a symbol @box_download_checksum = "" if !@box_download_checksum