kernel/v2: convert network type to symbol earlier
This commit is contained in:
parent
aee71a093b
commit
1ae99e3a2e
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue