vagrant-vmware-esxi 2.3.0 → 2.3.1

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: caee10cdf29fc60a9893a73f38a6c8df05327aed
4
- data.tar.gz: 9c6a5801595b8b879a125c4ff1efed3498d66966
3
+ metadata.gz: 9ebc0bafa3e32ee658b9fe19e2c53df17d2a3da7
4
+ data.tar.gz: 2dd73846136cfbea05f895a53822e9da2a1a0709
5
5
  SHA512:
6
- metadata.gz: 9f454dd1e88570b3d53ed80105f851959ea562e5c747ebe11af49a8f05a3973f41b0aa33759794c990fc9f405a49a8cff619c3f6603a5ad2d1fe7ec842e347a0
7
- data.tar.gz: 2342ce2974e24215521eae84de5946264c6af6a5717d041ca8dc65c31db9399fa99dd710d82ae97b6ffdfb7e35c38971e09853bf036cf9f3888330e11d69f981
6
+ metadata.gz: 6c6a3a5effe101f7deccb22908faa9a9830715d5b336a1b6bf07ab4fdbf1dcc37978ce98fb47fcd7aa1f3bd95d4623429f662edee92bfab7974fde4276729610
7
+ data.tar.gz: cfb8774a6a22f046a2c032c65b8ecc5e1b03303cc73e107e9437f761cc19add3f3d2e38c22770b39f671846cd7e3127b3b9059da997be273c74b3bedbc9b6d68
data/README.md CHANGED
@@ -283,8 +283,10 @@ Known issues with vmware_esxi
283
283
 
284
284
  Version History
285
285
  ---------------
286
+ * 2.3.1 Fix, Disk stores can now contain spaces.
287
+
286
288
  * 2.3.0 Add support to specify DiskStore for guest_storage virtual disks.
287
- Add local_failonwarning Vagrantfil option.
289
+ Add local_failonwarning Vagrantfile option.
288
290
  Fix, make plugin more compatible with Ovftool 4.3.0
289
291
 
290
292
  * 2.2.2 Fix, Avoid crash if esxi_password is nil.
@@ -139,7 +139,7 @@ module VagrantPlugins
139
139
  # Figure out DataStore
140
140
  r = ssh.exec!(
141
141
  'esxcli storage filesystem list | grep "/vmfs/volumes/.*[VMFS|NFS]" | '\
142
- "sort -nk7 | awk '{print $2}'")
142
+ "awk -F' ' '{print $NF\",\"$2}' | sort -n | awk -F',' '{print $2}'")
143
143
 
144
144
  availvolumes = r.split(/\n/)
145
145
  if config.debug =~ %r{true}i
@@ -629,6 +629,7 @@ module VagrantPlugins
629
629
  dst_vmx_file << dst_vmx_ds.gsub('[','').gsub(']','').strip + "/"
630
630
  esxi_guest_dir = dst_vmx_file + dst_vmx_dir
631
631
  dst_vmx_file << dst_vmx
632
+ dst_vmx_file = dst_vmx_file.strip.gsub(/\s/, '\ ')
632
633
 
633
634
  # Extend boot disk if required
634
635
  if config.guest_boot_disk_size.is_a? Integer
@@ -694,10 +695,10 @@ module VagrantPlugins
694
695
  puts "Avail slot: #{slot}" if config.debug =~ %r{true}i
695
696
  guest_disk_type = 'zeroedthick' if guest_disk_type == 'thick'
696
697
  guest_volume_path = "/vmfs/volumes/#{guest_disk_datastore}"
697
- guest_disk_folder = "#{guest_volume_path}/#{dst_vmx_dir}"
698
+ guest_disk_folder = "#{guest_volume_path}/#{dst_vmx_dir}".gsub(/\s/, '\ ')
698
699
  folder_cmd = "/bin/mkdir -p #{guest_disk_folder}"
699
700
  cmd = "#{folder_cmd} && /bin/vmkfstools -c #{store_size}G "\
700
- "-d #{guest_disk_type} \"#{guest_disk_folder}/disk_#{index}.vmdk\""
701
+ "-d #{guest_disk_type} #{guest_disk_folder}/disk_#{index}.vmdk"
701
702
 
702
703
  puts "cmd: #{cmd}" if config.debug =~ %r{true}i
703
704
  r = ssh.exec!(cmd)
@@ -1,7 +1,7 @@
1
1
  # VERSION
2
2
  module VagrantPlugins
3
3
  module ESXi
4
- VERSION = '2.3.0'
4
+ VERSION = '2.3.1'
5
5
  $vagrant_vmware_esxi_version = VERSION
6
6
  end
7
7
  end
@@ -3,7 +3,7 @@ require File.expand_path('../lib/vagrant-vmware-esxi/version', __FILE__)
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'vagrant-vmware-esxi'
5
5
  s.version = VagrantPlugins::ESXi::VERSION
6
- s.date = '2018-05-16'
6
+ s.date = '2018-06-03'
7
7
  s.summary = 'Vagrant ESXi provider plugin'
8
8
  s.description = 'A Vagrant plugin that adds a VMware ESXi provider support'
9
9
  s.authors = ['Jonathan Senkerik']
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-vmware-esxi
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 2.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Senkerik
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-16 00:00:00.000000000 Z
11
+ date: 2018-06-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: i18n