vagrant-vmware-esxi 1.1.4 → 1.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -2
- data/example_box/Vagrantfile +1 -1
- data/lib/vagrant-vmware-esxi/action/wait_for_state.rb +4 -0
- 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: 9051f990eb9987751b95ebf028d5b24cda3f2ab5
|
4
|
+
data.tar.gz: 6526b52db2771173fa38b56ec78d39acb54fccb6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 665aad9a61329abb7ed0eea9c8397bf0696479c981c62334a9a4298acba7f19caa8ddf876185b98bc84e1274711195135c27e07affac4f7928f7a228a4cc8a33
|
7
|
+
data.tar.gz: 5c82a414ea4d9ef178e9b20a0b981346830d7f6c9ab3e8f9feda1994d552ba47a4896802b49b09246cad8d9657c15b008a6598ed4ba9597b534e8d50292dfdb3
|
data/README.md
CHANGED
@@ -8,6 +8,7 @@ Features and Compatibility
|
|
8
8
|
--------------------------
|
9
9
|
* Any of the vmware Box formats should be compatible.
|
10
10
|
* vmware_desktop, vmware_fusion, vmware_workstation...
|
11
|
+
* To be fully functional, you must have open-vm-tools or vmware tools installed
|
11
12
|
* Will automatically download boxes from the web.
|
12
13
|
* Will automatically upload the box to your ESXi host.
|
13
14
|
* Automatic or manual VM names.
|
@@ -26,7 +27,7 @@ Requirements
|
|
26
27
|
>https://www.vmware.com/support/developer/ovf/
|
27
28
|
1. You MUST enable ssh access on your ESXi hypervisor.
|
28
29
|
* Google 'How to enable ssh access on esxi'
|
29
|
-
1. The boxes
|
30
|
+
1. The boxes must have open-vm-tools or vmware-tools installed to properly transition to the "running" state.
|
30
31
|
|
31
32
|
Why this plugin?
|
32
33
|
----------------
|
@@ -59,8 +60,8 @@ Vagrant.configure("2") do |config|
|
|
59
60
|
#config.vm.box = 'steveant/CentOS-7.0-1406-Minimal-x64'
|
60
61
|
#config.vm.box = 'geerlingguy/ubuntu1604'
|
61
62
|
#config.vm.box = 'laravel/homestead'
|
62
|
-
#config.vm.box = 'centos/7'
|
63
63
|
#config.vm.box = 'bento/ubuntu-14.04'
|
64
|
+
#config.vm.box = 'generic/centos7'
|
64
65
|
#config.vm.box = 'generic/fedora26'
|
65
66
|
#config.vm.box = 'generic/alpine36'
|
66
67
|
|
@@ -177,6 +178,7 @@ Basic usage
|
|
177
178
|
|
178
179
|
Known issues with vmware_esxi
|
179
180
|
-----------------------------
|
181
|
+
* The boxes must have open-vm-tools or vmware-tools installed to properly transition to the "running" state.
|
180
182
|
* Cleanup doesn't always destroy a VM that has been partially built. Use the allow_overwrite = 'True' option if you need to force a rebuild.
|
181
183
|
* ovftool installer for windows doesn't put ovftool.exe in your path. You can manually set your path, or install ovftool in the \HashiCorp\Vagrant\bin directory.
|
182
184
|
* Built-in Vagrant synced folders using NFS fails if you try to re-provision.
|
data/example_box/Vagrantfile
CHANGED
@@ -13,8 +13,8 @@ Vagrant.configure("2") do |config|
|
|
13
13
|
#config.vm.box = 'steveant/CentOS-7.0-1406-Minimal-x64'
|
14
14
|
#config.vm.box = 'geerlingguy/ubuntu1604'
|
15
15
|
#config.vm.box = 'laravel/homestead'
|
16
|
-
#config.vm.box = 'centos/7'
|
17
16
|
#config.vm.box = 'bento/ubuntu-14.04'
|
17
|
+
#config.vm.box = 'generic/centos7'
|
18
18
|
#config.vm.box = 'generic/fedora26'
|
19
19
|
#config.vm.box = 'generic/alpine36'
|
20
20
|
|
@@ -28,8 +28,12 @@ module VagrantPlugins
|
|
28
28
|
until env[:machine].state.id == @state
|
29
29
|
sleep 4
|
30
30
|
end
|
31
|
+
env[:ui].info I18n.t('vagrant_vmware_esxi.vagrant_vmware_esxi_message',
|
32
|
+
message: "Success, state is now \"#{@state}\"")
|
31
33
|
end
|
32
34
|
rescue Timeout::Error
|
35
|
+
env[:ui].info I18n.t('vagrant_vmware_esxi.vagrant_vmware_esxi_message',
|
36
|
+
message: "Failed, timeout waiting for \"#{@state}\"")
|
33
37
|
env[:result] = 'False' # couldn't reach state in time
|
34
38
|
end
|
35
39
|
end
|