diff --git a/plugins/kernel_v2/config/vm.rb b/plugins/kernel_v2/config/vm.rb index 40f287529..89340264d 100644 --- a/plugins/kernel_v2/config/vm.rb +++ b/plugins/kernel_v2/config/vm.rb @@ -203,8 +203,7 @@ module VagrantPlugins # # @param [Symbol] type Type of network # @param [Hash] options Options for the network. - def network(type, options=nil) - options ||= {} + def network(type, **options) options = options.dup options[:protocol] ||= "tcp"