vagrant-windows-sysprep 0.0.2 → 0.0.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: e11caa08710d094abcf5befef16e3a658d2ca270
4
- data.tar.gz: 23997e62af790620d48961224f9f985b1fa8a93b
2
+ SHA256:
3
+ metadata.gz: 70a660b8e8daa69d230c68382ebcfd460aed717d9c2d2b1a4226ef31728719d3
4
+ data.tar.gz: d6633967e882aa529e80e56d5f7e12ad468dd326ee7c1ab5f85c646d0e6a5d2b
5
5
  SHA512:
6
- metadata.gz: d29e2b5621d3cf0193f99371b19a751f8929a646ad2c2cda206ac2d63fdca11ee16709ef7a0e56228873b1c158dc75a24c2ef36f5e8875e3fd162ca1b6d1ace7
7
- data.tar.gz: 8a023b9ca3cfde6e24f34c2361148e60126f216d2f7e4bcdaa6822ab438084f58ba9265bf4c55778991089a240d4fd69cc8109aa9611acf4fd6b9a3711704b00
6
+ metadata.gz: 929b5bd41f3f1fbdcc2e65b5802b731e5f12a081f29bb0bc57be9029ed3bd831ba4fbebd81e7b4a642ffdddee19de4bf99f386c907555fff3db022f7efcd552a
7
+ data.tar.gz: 14ccef9e8a06deb9d100fbed0ebf5dd2e30a608d1af66acf1705140e2e3d6bbe3c186fd855c0b7c1647c849f7b3966d0db043511081953f613564259fd63db61
@@ -4,8 +4,8 @@ rescue LoadError
4
4
  raise "The Vagrant Windows Sysprep plugin must be run within Vagrant."
5
5
  end
6
6
 
7
- if Vagrant::VERSION < "2.0.3"
8
- raise "The Vagrant Windows Sysprep plugin is only compatible with Vagrant 2.0.3+"
7
+ if Vagrant::VERSION < "2.1.2"
8
+ raise "The Vagrant Windows Sysprep plugin is only compatible with Vagrant 2.1.2+"
9
9
  end
10
10
 
11
11
  module VagrantPlugins
@@ -54,7 +54,11 @@ module VagrantPlugins
54
54
  rescue
55
55
  # ignored. this should be due to the shutdown that sysprep does.
56
56
  end
57
- until @machine.state.id == :poweroff
57
+
58
+ # wait for the machine to be shutdown.
59
+ # NB :poweroff is used by the VirtualBox provider.
60
+ # NB :shutoff is used by the libvirt provider.
61
+ until [:poweroff, :shutoff].include? @machine.state.id
58
62
  sleep 10
59
63
  end
60
64
 
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module WindowsSysprep
3
- VERSION = "0.0.2"
3
+ VERSION = "0.0.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-windows-sysprep
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rui Lopes
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-04-14 00:00:00.000000000 Z
11
+ date: 2018-08-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -54,7 +54,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
54
54
  version: '0'
55
55
  requirements: []
56
56
  rubyforge_project:
57
- rubygems_version: 2.5.2.1
57
+ rubygems_version: 2.7.6
58
58
  signing_key:
59
59
  specification_version: 4
60
60
  summary: Vagrant plugin for running Windows sysprep.