vagrant-vmware-esxi 2.3.0 → 2.3.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 +4 -4
- data/README.md +3 -1
- data/lib/vagrant-vmware-esxi/action/createvm.rb +4 -3
- data/lib/vagrant-vmware-esxi/version.rb +1 -1
- data/vagrant-vmware-esxi.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9ebc0bafa3e32ee658b9fe19e2c53df17d2a3da7
|
4
|
+
data.tar.gz: 2dd73846136cfbea05f895a53822e9da2a1a0709
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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 -
|
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}
|
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)
|
data/vagrant-vmware-esxi.gemspec
CHANGED
@@ -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-
|
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.
|
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-
|
11
|
+
date: 2018-06-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: i18n
|