kernel/v2: make sure communicator is a symbol

This commit is contained in:
Mitchell Hashimoto 2014-04-20 20:53:29 -07:00
parent b0b445fcac
commit 7ee9b7cd42
1 changed files with 3 additions and 0 deletions

View File

@ -344,6 +344,9 @@ module VagrantPlugins
# Make sure the box URL is an array if it is set
@box_url = Array(@box_url) if @box_url
# Set the communicator properly
@communicator = @communicator.to_sym if @communicator
# Set the guest properly
@guest = @guest.to_sym if @guest