Skip to content

Commit cc94045

Browse files
authored
Add support for vmware_esxi plugin (#163)
* Add support for vmware_esxi plugin vmware_esxi Vagrant plugin does not support vmx parameter and exists with error. This small change in vagrant.py fixes it. * Update vagrant.py Small optimization of vmware_esxi support
1 parent 0e09ebe commit cc94045

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/molecule_plugins/vagrant/modules/vagrant.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,9 @@
261261
{% if instance.provider == "vsphere" %}
262262
{{ instance.provider | lower }}.memory_mb = {{ instance.memory }}
263263
{{ instance.provider | lower }}.cpu_count = {{ instance.cpus }}
264+
{% elif instance.provider == 'vmware_esxi' %}
265+
{{ instance.provider | lower }}.guest_memsize = {{ instance.memory }}
266+
{{ instance.provider | lower }}.guest_numvcpus = {{ instance.cpus }}
264267
{% elif instance.provider.startswith('vmware_') %}
265268
{{ instance.provider | lower }}.vmx['memsize'] = {{ instance.memory }}
266269
{{ instance.provider | lower }}.vmx['numvcpus'] = {{ instance.cpus }}

0 commit comments

Comments
 (0)