vagrant-vmware-esxi 2.5.1 → 2.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/lib/vagrant-vmware-esxi/action.rb +5 -2
- data/lib/vagrant-vmware-esxi/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 76151ba498e2ccdeed28546c14080ad07d5dddcc1a38c7d1440395a5e048e26c
|
|
4
|
+
data.tar.gz: 71784b81f37391e04d87820100ad2812575a69ed58ee0416e941908ef6309768
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: da117ede08301a0952056b5cc7792a8f9f3c2cf6f690bb83349ab24705a8a0840ebeb24d59de4218abcfb00c9ad98cb984bbdae34f6401d96d905ff31da02c03
|
|
7
|
+
data.tar.gz: 8a79b1027feedf617a694168a114c3cae6798aab0c95da92515bc7686395fc0794ed3ab332d09c255c805cd7794260f526195844fe0801efe6c1ee465308aa9d
|
data/README.md
CHANGED
|
@@ -288,6 +288,7 @@ Known issues with vmware_esxi
|
|
|
288
288
|
|
|
289
289
|
Version History
|
|
290
290
|
---------------
|
|
291
|
+
* 2.5.2 Fix, snapshot restore will execute regardless of current state.
|
|
291
292
|
* 2.5.1 Fix, filter localhost from local IP detection for nfs sync.
|
|
292
293
|
* 2.5.0 Add support to set guest vm to Autostart.
|
|
293
294
|
* 2.4.5 Do not wait for `running` when resuming a VM that is not able to be resumed.
|
|
@@ -113,8 +113,11 @@ module VagrantPlugins
|
|
|
113
113
|
def self.action_snapshot_restore
|
|
114
114
|
Vagrant::Action::Builder.new.tap do |b|
|
|
115
115
|
b.use SetESXiPassword
|
|
116
|
-
b.use
|
|
117
|
-
|
|
116
|
+
b.use Call, ReadState do |env1, b1|
|
|
117
|
+
b1.use Halt unless env1[:machine_state] == 'powered_off'
|
|
118
|
+
b1.use ReadState
|
|
119
|
+
end
|
|
120
|
+
b.use Call, WaitForState, :powered_off, 30 do |env1, b1|
|
|
118
121
|
if env1[:result] == 'True'
|
|
119
122
|
b1.use SnapshotRestore
|
|
120
123
|
b1.use ReadState
|