diff --git a/plugins/commands/serve/type/options.rb b/plugins/commands/serve/type/options.rb index 463d1c897..fb637d82a 100644 --- a/plugins/commands/serve/type/options.rb +++ b/plugins/commands/serve/type/options.rb @@ -9,7 +9,7 @@ module VagrantPlugins raise TypeError, "Expected type `Hash' but received `#{value.class}'" end - super(value: OpenStruct.new(value)) + super(value: OpenStruct.new(value).to_h) end end end