From 81ad053f8a5cf44752dafeb9647783c0d153e297 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sun, 25 Dec 2011 10:18:49 -0800 Subject: [PATCH] Check for port collisions after clearing forwarded ports on `up` --- lib/vagrant/action/builtin.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vagrant/action/builtin.rb b/lib/vagrant/action/builtin.rb index 773557dc5..c28fe5cd4 100644 --- a/lib/vagrant/action/builtin.rb +++ b/lib/vagrant/action/builtin.rb @@ -20,9 +20,9 @@ module Vagrant Builder.new do use General::Validate use VM::CheckAccessible - use VM::CheckPortCollisions, :port_collision_handler => :correct use VM::CleanMachineFolder use VM::ClearForwardedPorts + use VM::CheckPortCollisions, :port_collision_handler => :correct use VM::ForwardPorts use VM::Provision use VM::NFS