clc-chef-metal-vsphere 0.3.8 → 0.3.9
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 +1 -1
- 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: 0a216493fb475b1df05cbbd683dd69581d1066c5
|
4
|
+
data.tar.gz: 76e1e0c93937a5a3c43fbb4950bbc92c0727a49d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3bbee1c25155c303b461b81fa38e8c995beaf32f69d02a1c64981e5b75070e8d36344b2c520498ea7b57f1570ab2704722a5fd54ee46efa7f254a85996ddbb75
|
7
|
+
data.tar.gz: ba2d674b694a1ad8557a81545ae100aa63171d28cf16aae2fc27c1ab8a3a6c79b3af4db8c9c89d0deecdceb9adfb8146921a32208933d29af16b3bd503572247
|
@@ -247,7 +247,7 @@ module ChefMetalVsphere
|
|
247
247
|
host_lookup = machine.execute_always('host google.com')
|
248
248
|
if host_lookup.exitstatus != 0
|
249
249
|
if host_lookup.stdout.include?("setlocale: LC_ALL")
|
250
|
-
machine.execute_always('
|
250
|
+
machine.execute_always('locale-gen en_US && update-locale LANG=en_US')
|
251
251
|
end
|
252
252
|
distro = machine.execute_always("lsb_release -i | sed -e 's/Distributor ID://g'").stdout.strip
|
253
253
|
Chef::Log.info "Found distro:#{distro}"
|