From 572f34169711059c0fcf71e8fd07b62c2c36ab78 Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Wed, 3 Jan 2018 10:29:45 -0800 Subject: [PATCH] Include synced folder cleanup action within hyperv provider --- plugins/providers/hyperv/action.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/providers/hyperv/action.rb b/plugins/providers/hyperv/action.rb index 867191396..f5e9b25c6 100644 --- a/plugins/providers/hyperv/action.rb +++ b/plugins/providers/hyperv/action.rb @@ -41,6 +41,7 @@ module VagrantPlugins b2.use ProvisionerCleanup, :before b2.use StopInstance b2.use DeleteVM + b2.use SyncedFolderCleanup end end end @@ -144,6 +145,7 @@ module VagrantPlugins b2.use StartInstance b2.use WaitForIPAddress b2.use WaitForCommunicator, [:running] + b2.use SyncedFolderCleanup b2.use SyncedFolders b2.use SetHostname end