lib/vagrant-skytap/action.rb in vagrant-skytap-0.3.1 vs lib/vagrant-skytap/action.rb in vagrant-skytap-0.3.2
- old
+ new
@@ -95,10 +95,11 @@
b1.use DeleteVm
next
end
b1.use Call, DestroyConfirm do |env2, b2|
if env2[:result]
+ b2.use ClearForwardedPorts
case existence_state
when :one_of_many_vms
b2.use DeleteVm
else
b2.use DeleteEnvironment
@@ -107,10 +108,9 @@
else
b2.use MessageWillNotDestroy
end
end
end
- b.use ClearForwardedPorts
b.use PrepareNFSValidIds
b.use SyncedFolderCleanup
end
end