From 6de3b641d05dd26ff3719b84ef576fc309acb051 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Fri, 9 Apr 2010 15:41:26 -0700 Subject: [PATCH] Fix forwarded ports destroy method call to use new virtualbox format --- lib/vagrant/actions/vm/forward_ports.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vagrant/actions/vm/forward_ports.rb b/lib/vagrant/actions/vm/forward_ports.rb index 6b3168a8d..400e4bf18 100644 --- a/lib/vagrant/actions/vm/forward_ports.rb +++ b/lib/vagrant/actions/vm/forward_ports.rb @@ -23,7 +23,7 @@ module Vagrant def clear logger.info "Deleting any previously set forwarded ports..." - @runner.vm.forwarded_ports.collect { |p| p.destroy(true) } + @runner.vm.forwarded_ports.collect { |p| p.destroy } end def forward_ports