vagrant-vmware-esxi 2.5.0 → 2.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 40331b3198d6a85293719e3bd1c529ce7d01de80f151b2cdeed7aa771e0f127a
|
4
|
+
data.tar.gz: a500020408fe69d6d81a057a390013cb8f3d897d062fc7a634ff243c018743b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eacbdb2b3d689b16cfe45c36ee7fe42d475ea3a3e6f4f19de22cb034bc1922d8bd9585449ed537894e99a9f2b94c7a50a1326bbf30261f193016d6a964020d55
|
7
|
+
data.tar.gz: 736975fe3243fd1f847048e9131e619a27788279b03eae7518c54dd4910f7506ad6c3d7549fdadab0ca3190e7ac3a13133365dbcad6b0bdf3db8b11832e03284
|
data/README.md
CHANGED
@@ -3,6 +3,7 @@ vagrant-vmware-esxi plugin
|
|
3
3
|
This is a Vagrant plugin that adds a VMware ESXi provider support. This allows Vagrant to control and provision VMs directly on an ESXi hypervisor without a need for vCenter or VShpere. ESXi hypervisor is a free download from VMware!
|
4
4
|
>https://www.vmware.com/go/get-free-esxi
|
5
5
|
|
6
|
+
|
6
7
|
Documentation:
|
7
8
|
-------------
|
8
9
|
Refer to the WIKI for documentation, examples and other information...
|
@@ -18,7 +19,6 @@ If you are using vagrant as a deployment tool (infra as code), you may want to c
|
|
18
19
|
>https://github.com/josenk/vagrant-vmware-esxi
|
19
20
|
|
20
21
|
|
21
|
-
|
22
22
|
Features and Compatibility
|
23
23
|
--------------------------
|
24
24
|
* Clone from VMs. (see wiki) Clone a VM on the ESXi host instead of transferring a box stored on your local pc.
|
@@ -42,6 +42,7 @@ Features and Compatibility
|
|
42
42
|
* Specify GuestOS types, virtual HW version.
|
43
43
|
* Any custom vmx settings can be added or modified.
|
44
44
|
|
45
|
+
|
45
46
|
Requirements
|
46
47
|
------------
|
47
48
|
1. This is a vagrant plugin, so you need vagrant installed... :-)
|
@@ -287,6 +288,7 @@ Known issues with vmware_esxi
|
|
287
288
|
|
288
289
|
Version History
|
289
290
|
---------------
|
291
|
+
* 2.5.1 Fix, filter localhost from local IP detection for nfs sync.
|
290
292
|
* 2.5.0 Add support to set guest vm to Autostart.
|
291
293
|
* 2.4.5 Do not wait for `running` when resuming a VM that is not able to be resumed.
|
292
294
|
* 2.4.4 Show stderr if unable to connect to ESXi host. Update GuestOS types.
|
@@ -92,7 +92,7 @@ module VagrantPlugins
|
|
92
92
|
' install from http://www.vmware.com.'
|
93
93
|
end
|
94
94
|
|
95
|
-
ovf_cmd = "ovftool --noSSLVerify -tt=VMX --name=\"#{boxname}\" "\
|
95
|
+
ovf_cmd = "ovftool --noSSLVerify -tt=VMX --X:useMacNaming=false --name=\"#{boxname}\" "\
|
96
96
|
"#{overwrite_opts} vi://#{config.esxi_username}:"\
|
97
97
|
"#{config.encoded_esxi_password}@#{config.esxi_hostname}"\
|
98
98
|
"?moref=vim.VirtualMachine:#{machine.id} #{tmpdir}"
|
@@ -29,7 +29,11 @@ module VagrantPlugins
|
|
29
29
|
begin
|
30
30
|
puts "Get local IP address for NFS. (pri)" if env[:machine].provider_config.debug =~ %r{ip}i
|
31
31
|
# The Standard way to get your IP. Get your hostname, resolv it.
|
32
|
-
|
32
|
+
addr_info = Socket::getaddrinfo(Socket.gethostname,"echo",Socket::AF_INET)
|
33
|
+
|
34
|
+
non_localhost = addr_info.select{ |info| info[3] !~ /^127./}
|
35
|
+
|
36
|
+
env[:nfs_host_ip] = non_localhost[0][3]
|
33
37
|
rescue
|
34
38
|
puts "Get local IP address for NFS. (alt)" if env[:machine].provider_config.debug =~ %r{ip}i
|
35
39
|
# Alt method. Get list of ip_addresses on system and use the first.
|