vagrant-vsphere 1.13.2 → 1.13.3.pre1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.bumpversion.cfg +1 -1
- data/lib/vSphere/action/get_ssh_info.rb +7 -1
- data/lib/vSphere/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3ac0325a549b6d8059de42d01e0192b3f244f400
|
4
|
+
data.tar.gz: 35cebd7994e92a391f824dd95196320b1b188078
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e6ccfa11091c0225c5a952412f3210fb7484a4f4c1a556a45b1d16186ad0a1ddad371a8d8d1cb91d995c2422929b880ed0315c50cb2e685434e8b713731c680
|
7
|
+
data.tar.gz: f63e2c93e64e9c4f3e52521c2062c3409db3ae54e0382fb2ef4b9aa6920fadb435a6a34d9cb9e5d91ef0cae8d1f0577cbde699abe458343afa312c7e75f22943
|
data/.bumpversion.cfg
CHANGED
@@ -22,7 +22,13 @@ module VagrantPlugins
|
|
22
22
|
return vm.guest.ipAddress unless machine.provider_config.real_nic_ip
|
23
23
|
|
24
24
|
interfaces = vm.guest.net.select { |g| g.deviceConfigId > 0 }
|
25
|
-
ip_addresses = interfaces.map
|
25
|
+
ip_addresses = interfaces.map do |i|
|
26
|
+
begin
|
27
|
+
i.ipConfig.ipAddress.select { |a| a.state == 'preferred' }
|
28
|
+
rescue NoMethodError
|
29
|
+
nil
|
30
|
+
end
|
31
|
+
end.flatten.compact
|
26
32
|
|
27
33
|
return (vm.guest.ipAddress || nil) if ip_addresses.empty?
|
28
34
|
|
data/lib/vSphere/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-vsphere
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.13.
|
4
|
+
version: 1.13.3.pre1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Grauch
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-01-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|
@@ -214,9 +214,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
214
214
|
version: '0'
|
215
215
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
216
216
|
requirements:
|
217
|
-
- - "
|
217
|
+
- - ">"
|
218
218
|
- !ruby/object:Gem::Version
|
219
|
-
version:
|
219
|
+
version: 1.3.1
|
220
220
|
requirements: []
|
221
221
|
rubyforge_project:
|
222
222
|
rubygems_version: 2.5.2.1
|