From 6f3ed13f75a1be66ed22f9bdcaa262e8077e458e Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Wed, 18 Nov 2015 17:16:23 -0800 Subject: [PATCH] providers/virtualbox: run provisioners on suspend resume --- CHANGELOG.md | 1 + plugins/providers/virtualbox/action.rb | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 50cf047d6..b910da20b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -32,6 +32,7 @@ IMPROVEMENTS: - core: networking: allow specifying a DHCP IP [GH-6325] - command/plugin: Add `--plugin-clean-sources` flag to reset plugin install sources, primarily for corp firewalls. [GH-4738] + - command/up: provisioners are run on suspend resume [GH-5815] - communicators/winrm: Configurable execution time limit [GH-6213] - provisioners/shell: Support interactive mode for elevated PowerShell scripts [GH-6185] diff --git a/plugins/providers/virtualbox/action.rb b/plugins/providers/virtualbox/action.rb index 85f52f887..137e0ac92 100644 --- a/plugins/providers/virtualbox/action.rb +++ b/plugins/providers/virtualbox/action.rb @@ -217,6 +217,7 @@ module VagrantPlugins b2.use PrepareForwardedPortCollisionParams b2.use HandleForwardedPortCollisions b2.use Resume + b2.use Provision b2.use WaitForCommunicator, [:restoring, :running] else b2.use MessageNotCreated