kitchen-vcenter 2.9.0 → 2.9.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/kitchen-vcenter/version.rb +1 -1
- data/lib/support/guest_customization.rb +10 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a7424e04d466fa8ed2aea4fbc36f1454ee71e4e5b2bf383490e8f1ec5a1668d5
|
4
|
+
data.tar.gz: 00b915156f7dd91b71d656d24f129015a28e6349a82a06dcb50d4c2a43c38e06
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b9b8f896730e171635e298173469651183cf2e785bde217e8f49d98870ec9d21606bf3b4b5b4ea2eec762458e616a7705c8ff93471e2986fe01d108a52d5309a
|
7
|
+
data.tar.gz: 72ff746c626c7e479f2e154ef7c2d8f05485cfc95726fd8673a6a27313ff89241307913a3574e77bfd1fd6304406ccc3c506bd636171b03e7ba8aa0294ffb6eb
|
@@ -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.
|
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:
|
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.
|
119
|
+
rubygems_version: 3.1.4
|
120
120
|
signing_key:
|
121
121
|
specification_version: 4
|
122
122
|
summary: Test Kitchen driver for VMware vCenter
|