clc-chef-metal-vsphere 0.3.30 → 0.3.31
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/chef_metal_vsphere/version.rb +1 -1
- data/lib/chef_metal_vsphere/vsphere_driver.rb +3 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8c0a832a001dd11d0b5e528c774c8edb18f1c328
|
4
|
+
data.tar.gz: bf3b36cfa4761769d860054296e1a00228aed047
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f00a35cef49d0ea625a0d54f6fb2c01654700c262038f53aa708acaeb8bdbb3e6d7b59bc4c98537c26930837c475fe39de053e730be2463d82f1f3a9174b8dc
|
7
|
+
data.tar.gz: 174a46f4fdffc88fae06522ec1f4e21191c667b874c92fe8ebe971f6550776b68d8980244fcb21406e57330fad363da96f7cd124e471e833e19ae182a52a93c1
|
@@ -207,10 +207,11 @@ module ChefMetalVsphere
|
|
207
207
|
end
|
208
208
|
|
209
209
|
if transport.nil? || !transport.available?
|
210
|
-
action_handler.report_progress "waiting for customizations to complete and find #{vm_ip}"
|
210
|
+
action_handler.report_progress "waiting up to #{machine_options[:ready_timeout]} seconds for customizations to complete and find #{vm_ip}"
|
211
211
|
now = Time.now.utc
|
212
|
+
|
212
213
|
until (Time.now.utc - now) > machine_options[:ready_timeout] || (vm.guest.net.map { |net| net.ipAddress}.flatten).include?(vm_ip) do
|
213
|
-
|
214
|
+
action_handler.report_progress "IP addresses on #{machine_spec.name} are #{vm.guest.net.map { |net| net.ipAddress}.flatten}"
|
214
215
|
sleep 5
|
215
216
|
end
|
216
217
|
if !(vm.guest.net.map { |net| net.ipAddress}.flatten).include?(vm_ip)
|