From 44d6b9a3f716ebfe0440686c05ce727b4ee67cbe Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Tue, 22 Jan 2013 14:28:38 -0800 Subject: [PATCH] Use a proper args array for V1 forwarded ports. Fixes #1330 --- plugins/kernel_v1/config/vm.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)