Don't destroy built Docker image on reload

This commit is contained in:
Adrian Guenter 2015-07-09 02:40:23 -04:00
parent e903988461
commit 9bdefb5c59
1 changed files with 6 additions and 2 deletions

View File

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