diff --git a/plugins/kernel_v1/config/vm.rb b/plugins/kernel_v1/config/vm.rb index 2fd07b5aaaa..6a0a7b3bd85 100644 --- a/plugins/kernel_v1/config/vm.rb +++ b/plugins/kernel_v1/config/vm.rb @@ -36,7 +36,7 @@ def forward_port(guestport, hostport, options=nil) network_options[:virtualbox__protocol] = options[:protocol] # Just append the forwarded port to the networks - @networks << [:forwarded_port, guestport, hostport, network_options] + @networks << [:forwarded_port, [guestport, hostport, network_options]] end def share_folder(name, guestpath, hostpath, opts=nil)