Merge pull request #5905 from adrianguenter/adrianguenter-5353

Docker Provider: Don't destroy built Docker image on reload
This commit is contained in:
Mitchell Hashimoto 2015-07-09 14:22:43 -06:00
commit 057f04e46a
1 changed files with 6 additions and 2 deletions

View File

@ -117,8 +117,12 @@ module VagrantPlugins
b2.use Call, IsBuild do |env2, b3|
if env2[:result]
b3.use EnvSet, force_confirm_destroy: true
b3.use action_destroy.flatten
b3.use ConfigValidate
b3.use EnvSet, force_halt: true
b3.use action_halt
b3.use HostMachineSyncFoldersDisable
b3.use Destroy
b3.use ProvisionerCleanup
end
end