chef-provisioning-vsphere 0.7.1 → 0.7.2

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
  SHA1:
3
- metadata.gz: 9637b94190bc6567be41105befc9b4da2692600b
4
- data.tar.gz: dff451ef2bfa5b08d7e9700480efe5eb9707abd9
3
+ metadata.gz: 3cffce0a191ef6fba36015eadf1a40fb8687c1ca
4
+ data.tar.gz: d0d511dc2dd2c5bd6c17931b92841fedbb182e87
5
5
  SHA512:
6
- metadata.gz: c319ff6dd39c955334686e67ae8c6d84c1c2bd6c73d9e7ab3572f3c9a6936a917c1e6e76e9cbf5ad3dab9d1e86e2796eb7d8e0eb52285cc2b51983d6a24cdbf2
7
- data.tar.gz: 3dbb4555cc14799b0be798614945f27c5b42fc380f9bc2eb7759068901e0e121a0171cc6ace9906c89168d6121514f559284777a91e765b9cc5a67f7984acd28
6
+ metadata.gz: 5fb15e79f694db0a9ad4881e86ace5e406b93bf4ef4017127b04616ce36c2efe80869a57299f32c4a67ebb1b3881b609173d9195be1ee30f39965a279cd36dd8
7
+ data.tar.gz: 454a31fdee270a2263f73626ebd1d720fd8e69510b4ce981eaf3e6a243813f09cd5aeb5aea57c3d9e97cd3a8f1f5d6768bee283df44bd6961a606d12ca6261dd
data/README.md CHANGED
@@ -98,8 +98,10 @@ This will use chef-zero and needs no chef server (only works for ssh). Note that
98
98
  - `[:customization_spec][:domain]` - domain to use (if not 'local' on a windows machine it will attempt to domain join)
99
99
  - `[:customization_spec][:domainAdmin]` - domain admin account to use for domain join on windows (should be `{user name}`@`{domain}`)
100
100
  - `[:customization_spec][:domainAdminPassword]` - domain administrator password
101
+ - `[:customization_spec][:hostname]` - hostname to use. Defaults to machine resource name if not provided
101
102
  - `[:customization_spec][:org_name]` - org name used in sysprep on windows
102
103
  - `[:customization_spec][:product_id]` - windows product key
104
+ - `[:customization_spec][:time_zone]` - The case-sensitive timezone, such as Europe/Sofia based on the tz (timezone) database used by Linux and other Unix systems
103
105
  - `[:customization_spec][:win_time_zone]` - numeric time zone for windows
104
106
 
105
107
  ## Timeout options
@@ -108,6 +108,9 @@ module ChefProvisioningVsphere
108
108
  if cust_ip_settings.nil?
109
109
  cust_ip_settings= RbVmomi::VIM::CustomizationIPSettings.new(
110
110
  :ip => RbVmomi::VIM::CustomizationDhcpIpGenerator.new())
111
+ end
112
+
113
+ if ip_settings && ip_settings.key?(:dnsServerList)
111
114
  cust_ip_settings.dnsServerList = ip_settings[:dnsServerList]
112
115
  action_handler.report_progress "customizing #{vm_name} with /
113
116
  dynamic IP and DNS: #{ip_settings[:dnsServerList]}"
@@ -1,3 +1,3 @@
1
1
  module ChefProvisioningVsphere
2
- VERSION = '0.7.1'
2
+ VERSION = '0.7.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef-provisioning-vsphere
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 0.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - CenturyLink Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-27 00:00:00.000000000 Z
11
+ date: 2015-08-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rbvmomi