kitchen-hyperv 0.5.2 → 0.5.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9d4200c123c96038ab396e818f5513515fe3cf69ffe7bb9a02a1a8d01a753329
4
- data.tar.gz: 47b526e068201baed55c9b4df68c6a7e84644cf28b48a94bfd94428b474430f4
3
+ metadata.gz: f95a36b67d309f5558ce09e652f1b2e1dae920b3e4f7dd87ef42e874d0d70b89
4
+ data.tar.gz: d226329f6c724cf74adce0422276f0b4346e57cd7f1964e42f24a7c2a59c88aa
5
5
  SHA512:
6
- metadata.gz: 075cd8245a0a390d13b1071626faff6cdb01efa9577722bb044a0c607f1d387c5719902927ed3408bf66b9712a2bc534e84a19684f699968187b2106fc516f56
7
- data.tar.gz: a9154005a646e70518395c497bb440d7566abf0490a3b4e04362208e5e487e9a07a519a909ec9a90a8a9a20c60fe53cc1f9d9d3e04a502d7bb897fb161e2b049
6
+ metadata.gz: 3a71c5e7ae19eadf9bdacd4fa616365e162f944c36bc14b3091cdabc71ca845062d900790d79455a1b07fd68b159aacc85b5ab861b798e14f82ad8d230129273
7
+ data.tar.gz: eac21386957db5983da0411ad14d11c5b7f2bbf38406b57fd78c56ca05c32e137b62be9e7e8ba0638eaeaab633b52a1b323d339d4cad743735a4291172384d4d
@@ -17,6 +17,6 @@
17
17
 
18
18
  module Kitchen
19
19
  module Driver
20
- HYPERV_VERSION = '0.5.2'.freeze
20
+ HYPERV_VERSION = '0.5.3'.freeze
21
21
  end
22
22
  end
@@ -156,6 +156,10 @@ module Kitchen
156
156
  def set_vm_ipaddress_ps
157
157
  <<-VMIP
158
158
 
159
+ while ((Get-VM -id "#{@state[:id]}").NetworkAdapters[0].Status -ne 'Ok'){
160
+ start-sleep 10
161
+ }
162
+
159
163
  (Get-VM -id "#{@state[:id]}").NetworkAdapters |
160
164
  Set-VMNetworkConfiguration -ipaddress "#{config[:ip_address]}" `
161
165
  -subnet "#{config[:subnet]}" `
@@ -116,6 +116,9 @@ function New-KitchenVM {
116
116
  if ($DisableSecureBoot -and ($Generation -eq 2) -and (Get-command Set-VMFirmware -ErrorAction SilentlyContinue)) {
117
117
  Set-VMFirmware -VM $vm -EnableSecureBoot Off
118
118
  }
119
+ if ((Get-Command -Name Set-Vm).Parameters["AutomaticCheckpointsEnabled"]) {
120
+ Set-VM -Name $vm.VMName -AutomaticCheckpointsEnabled $false
121
+ }
119
122
  $vm | Start-Vm -passthru |
120
123
  foreach {
121
124
  $vm = $_
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kitchen-hyperv
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Murawski
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-23 00:00:00.000000000 Z
11
+ date: 2019-03-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '1.7'
19
+ version: '0'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '1.7'
26
+ version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -42,16 +42,16 @@ dependencies:
42
42
  name: pry
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: '0.10'
47
+ version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: '0.10'
54
+ version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: cane
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -122,20 +122,54 @@ dependencies:
122
122
  - - ">="
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: minitest-stub-const
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: mocha
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
125
153
  - !ruby/object:Gem::Dependency
126
154
  name: test-kitchen
127
155
  requirement: !ruby/object:Gem::Requirement
128
156
  requirements:
129
- - - "~>"
157
+ - - ">="
130
158
  - !ruby/object:Gem::Version
131
159
  version: '1.4'
160
+ - - "<"
161
+ - !ruby/object:Gem::Version
162
+ version: '3'
132
163
  type: :runtime
133
164
  prerelease: false
134
165
  version_requirements: !ruby/object:Gem::Requirement
135
166
  requirements:
136
- - - "~>"
167
+ - - ">="
137
168
  - !ruby/object:Gem::Version
138
169
  version: '1.4'
170
+ - - "<"
171
+ - !ruby/object:Gem::Version
172
+ version: '3'
139
173
  description: Hyper-V Driver for Test-Kitchen
140
174
  email:
141
175
  - steven.murawski@gmail.com