vagrant-vmware-esxi 2.4.2 → 2.4.3
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 +4 -4
- data/README.md +4 -3
- data/lib/vagrant-vmware-esxi/action/createvm.rb +6 -5
- data/lib/vagrant-vmware-esxi/version.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: f99c6f09b644046b301eb4a379bd9eb7cdb280ac
|
4
|
+
data.tar.gz: a7220a1c84791c7d947db6b90b8622afdd25c5f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 44ec1beb80a3bec28e1aaba82bfb08a5f7e9600c4423ee7cbb0a96459085175f808d99a8b378332eec1dc7c6a975b26c947d620d01c913ae3d56aee5bf7ae7fd
|
7
|
+
data.tar.gz: f57a3df8f1b137f73d3d18509788b48e70da4bc8ad80bf542063ab5203c6f8d22ae859bb80446b716ce721ae5cab78b9b9be425897e513a74f4406afd172e902
|
data/README.md
CHANGED
@@ -111,7 +111,7 @@ Vagrant.configure('2') do |config|
|
|
111
111
|
# optionally netmask. ESXi doesn't use the concept of public or private
|
112
112
|
# networks so both are valid here. The primary network interface is considered the
|
113
113
|
# "vagrant management" interface and cannot be changed and this plugin
|
114
|
-
# supports
|
114
|
+
# supports 10 NICS, so you can specify 9 entries here!
|
115
115
|
#
|
116
116
|
# https://www.vagrantup.com/docs/networking/public_network.html
|
117
117
|
# https://www.vagrantup.com/docs/networking/private_network.html
|
@@ -146,7 +146,7 @@ Vagrant.configure('2') do |config|
|
|
146
146
|
|
147
147
|
# HIGHLY RECOMMENDED! ESXi Virtual Network
|
148
148
|
# You should specify an ESXi Virtual Network! If it's not specified, the
|
149
|
-
# default is to use the first found. You can specify up to
|
149
|
+
# default is to use the first found. You can specify up to 10 virtual
|
150
150
|
# networks using an array format.
|
151
151
|
#esxi.esxi_virtual_network = ['VM Network','VM Network2','VM Network3','VM Network4']
|
152
152
|
|
@@ -181,7 +181,7 @@ Vagrant.configure('2') do |config|
|
|
181
181
|
# OPTIONAL. Virtual CPUs override
|
182
182
|
#esxi.guest_numvcpus = '2'
|
183
183
|
|
184
|
-
# OPTIONAL & RISKY. Specify up to
|
184
|
+
# OPTIONAL & RISKY. Specify up to 10 MAC addresses
|
185
185
|
# The default is ovftool to automatically generate a MAC address.
|
186
186
|
# You can specify an array of MAC addresses using upper or lower case,
|
187
187
|
# separated by colons ':'.
|
@@ -290,6 +290,7 @@ Known issues with vmware_esxi
|
|
290
290
|
|
291
291
|
Version History
|
292
292
|
---------------
|
293
|
+
* 2.4.3 Fix, Allow disk stores with "(" or ")" in their name. Add support for up to 10 virtual nics
|
293
294
|
* 2.4.2 Fix i18n dependancy.
|
294
295
|
* 2.4.1 Change/Fix output of 'vagrant address' when a single machine is configured or specifed.
|
295
296
|
|
@@ -139,7 +139,8 @@ module VagrantPlugins
|
|
139
139
|
# Figure out DataStore
|
140
140
|
r = ssh.exec!(
|
141
141
|
'esxcli storage filesystem list | grep "/vmfs/volumes/.*[VMFS|NFS]" | '\
|
142
|
-
"awk
|
142
|
+
"awk '{printf $NF\",\" ; for(i=2;i<=NF-5;++i)printf $i\"\"FS ; printf \"\\n\"}' | "\
|
143
|
+
"sort -n | awk -F',' '{print $2}' | sed 's/ $//g'")
|
143
144
|
|
144
145
|
availvolumes = r.split(/\n/)
|
145
146
|
if config.debug =~ %r{true}i
|
@@ -287,7 +288,7 @@ module VagrantPlugins
|
|
287
288
|
@iswarning = 'true'
|
288
289
|
end
|
289
290
|
networkID += 1
|
290
|
-
break if networkID >=
|
291
|
+
break if networkID >= 10
|
291
292
|
end
|
292
293
|
end
|
293
294
|
|
@@ -480,7 +481,7 @@ module VagrantPlugins
|
|
480
481
|
env[:ui].info I18n.t('vagrant_vmware_esxi.vagrant_vmware_esxi_message',
|
481
482
|
message: "ESXi host : #{config.esxi_hostname}")
|
482
483
|
env[:ui].info I18n.t('vagrant_vmware_esxi.vagrant_vmware_esxi_message',
|
483
|
-
message: "Virtual Network : #{@guestvm_network[0..
|
484
|
+
message: "Virtual Network : #{@guestvm_network[0..9]}")
|
484
485
|
env[:ui].info I18n.t('vagrant_vmware_esxi.vagrant_vmware_esxi_message',
|
485
486
|
message: "Disk Store : #{@guestvm_dsname}")
|
486
487
|
env[:ui].info I18n.t('vagrant_vmware_esxi.vagrant_vmware_esxi_message',
|
@@ -505,7 +506,7 @@ module VagrantPlugins
|
|
505
506
|
message: "CPUS : #{desired_guest_numvcpus}")
|
506
507
|
unless config.guest_mac_address[0].eql? ''
|
507
508
|
env[:ui].info I18n.t('vagrant_vmware_esxi.vagrant_vmware_esxi_message',
|
508
|
-
message: "Mac Address : #{config.guest_mac_address[0..
|
509
|
+
message: "Mac Address : #{config.guest_mac_address[0..9]}")
|
509
510
|
end
|
510
511
|
unless config.guest_nic_type.nil?
|
511
512
|
env[:ui].info I18n.t('vagrant_vmware_esxi.vagrant_vmware_esxi_message',
|
@@ -626,7 +627,7 @@ module VagrantPlugins
|
|
626
627
|
|
627
628
|
|
628
629
|
dst_vmx_file = "/vmfs/volumes/"
|
629
|
-
dst_vmx_file << dst_vmx_ds.gsub('[','').gsub(']','').strip + "/"
|
630
|
+
dst_vmx_file << dst_vmx_ds.gsub('[','').gsub(']','').gsub('(','\(').gsub(')','\)').strip + "/"
|
630
631
|
esxi_guest_dir = dst_vmx_file + dst_vmx_dir
|
631
632
|
dst_vmx_file << dst_vmx
|
632
633
|
dst_vmx_file = dst_vmx_file.strip.gsub(/\s/, '\ ')
|