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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3fbcbcf238cd9c3004f555ba0f621146df5a3438
4
- data.tar.gz: a73ab4958864e6267ce091d2dd917a2bd4f487b7
3
+ metadata.gz: f99c6f09b644046b301eb4a379bd9eb7cdb280ac
4
+ data.tar.gz: a7220a1c84791c7d947db6b90b8622afdd25c5f1
5
5
  SHA512:
6
- metadata.gz: 0a6981d7ec2a2a09768d8f96ef7bca408fb5c76f3287e20b807fd12c28add2a68f4071c44d866d798fd3560d94b6abd58d1b57b0f497a705376295557c652473
7
- data.tar.gz: c1d51476360b5345f7a9634a6cc5d82c4535644946fa578cb54697abc538ecf4a9613d5bb226d44e46372be1ffe887367fa380930e5b49ef3b6a2400ab0c6497
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 4 NICS, so you can specify 3 entries here!
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 4 virtual
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 4 MAC addresses
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 -F' ' '{print $NF\",\"$2}' | sort -n | awk -F',' '{print $2}'")
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 >= 4
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..3]}")
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..3]}")
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/, '\ ')
@@ -1,7 +1,7 @@
1
1
  # VERSION
2
2
  module VagrantPlugins
3
3
  module ESXi
4
- VERSION = '2.4.2'
4
+ VERSION = '2.4.3'
5
5
  $vagrant_vmware_esxi_version = VERSION
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-vmware-esxi
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.2
4
+ version: 2.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Senkerik