kernel/v2: convert network type to symbol earlier

This commit is contained in:
Mitchell Hashimoto 2014-05-08 13:38:40 -07:00
parent aee71a093b
commit 1ae99e3a2e
1 changed files with 3 additions and 0 deletions

View File

@ -213,6 +213,9 @@ module VagrantPlugins
options = options.dup
options[:protocol] ||= "tcp"
# Convert to symbol to allow strings
type = type.to_sym
if !options[:id]
default_id = nil