kitchen-vcenter 2.9.0 → 2.9.8

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
2
  SHA256:
3
- metadata.gz: d91703414f7cc8c9c377a7e1ef6e322b716c90b61c77cfbd671da0053ac4e666
4
- data.tar.gz: 42d6e401ffca66e898a98df2d8924243e925a28c34cef635e50885a84e8f1c76
3
+ metadata.gz: a7424e04d466fa8ed2aea4fbc36f1454ee71e4e5b2bf383490e8f1ec5a1668d5
4
+ data.tar.gz: 00b915156f7dd91b71d656d24f129015a28e6349a82a06dcb50d4c2a43c38e06
5
5
  SHA512:
6
- metadata.gz: e9075327273580d4ff320138e067b5691e551bc79d45728ede0057c4bb0b57b8cbeb6e63d7cf958ef06e69fe11f3e4ff885b37887829b022a764c4e44aa15f60
7
- data.tar.gz: 22ae34bfd2071b727b1ea4fec269246080021cac4dec31f83c3687faea5c1d8e650a36a5b1420c3a6e74ac081f4afc2e33e446e2e463c94ef8c462119dfdb057
6
+ metadata.gz: b9b8f896730e171635e298173469651183cf2e785bde217e8f49d98870ec9d21606bf3b4b5b4ea2eec762458e616a7705c8ff93471e2986fe01d108a52d5309a
7
+ data.tar.gz: 72ff746c626c7e479f2e154ef7c2d8f05485cfc95726fd8673a6a27313ff89241307913a3574e77bfd1fd6304406ccc3c506bd636171b03e7ba8aa0294ffb6eb
@@ -20,5 +20,5 @@
20
20
  # The main kitchen-vcenter module
21
21
  module KitchenVcenter
22
22
  # The version of this version of test-kitchen we assume enterprises want.
23
- VERSION = "2.9.0"
23
+ VERSION = "2.9.8"
24
24
  end
@@ -185,11 +185,20 @@ class Support
185
185
  ERROR
186
186
  end
187
187
 
188
+ customization_pass = nil
189
+ if guest_customization[:administrator_password]
190
+ customization_pass = RbVmomi::VIM::CustomizationPassword.new(
191
+ plainText: true,
192
+ value: guest_customization[:administrator_password]
193
+ )
194
+ end
195
+
188
196
  RbVmomi::VIM::CustomizationSysprep.new(
189
197
  guiUnattended: RbVmomi::VIM::CustomizationGuiUnattended.new(
190
198
  timeZone: timezone.to_i || DEFAULT_WINDOWS_TIMEZONE,
191
199
  autoLogon: false,
192
- autoLogonCount: 1
200
+ autoLogonCount: 1,
201
+ password: customization_pass
193
202
  ),
194
203
  identification: RbVmomi::VIM::CustomizationIdentification.new,
195
204
  userData: RbVmomi::VIM::CustomizationUserData.new(
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kitchen-vcenter
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.9.0
4
+ version: 2.9.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chef Software
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-10-30 00:00:00.000000000 Z
11
+ date: 2021-02-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: net-ping
@@ -116,7 +116,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
116
116
  - !ruby/object:Gem::Version
117
117
  version: '0'
118
118
  requirements: []
119
- rubygems_version: 3.0.3
119
+ rubygems_version: 3.1.4
120
120
  signing_key:
121
121
  specification_version: 4
122
122
  summary: Test Kitchen driver for VMware vCenter