1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

VMware: fix vmPathName on VM creation (#33315)

* VMware: fix vmPathName on VM creation
* vmware_guest: enable unit tests disk_type_d1_c1_f0
This commit is contained in:
tchernomax 2017-12-14 14:11:09 +01:00 committed by Abhijeet Kasurde
parent 137498bff1
commit a09fd80bba
2 changed files with 3 additions and 1 deletions

View file

@ -1459,7 +1459,7 @@ class PyVmomiHelper(PyVmomi):
self.configspec.files = vim.vm.FileInfo(logDirectory=None,
snapshotDirectory=None,
suspendDirectory=None,
vmPathName="[" + datastore_name + "] " + self.params["name"])
vmPathName="[" + datastore_name + "]")
clone_method = 'CreateVM_Task'
resource_pool = self.get_resource_pool()

View file

@ -21,3 +21,5 @@
- include: create_rp_d1_c1_f0.yml
- include: create_guest_invalid_d1_c1_f0.yml
- include: mac_address_d1_c1_f0.yml
- include: disk_type_d1_c1_f0.yml
#- include: template_d1_c1_f0.yml