mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
VMware: trigger customization for customization_spec (#45415)
This fix allows to trigger VM customization if user specifies customization spec. Fixes: #44159 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
committed by
ansibot
parent
a6b095756c
commit
c98cec17e0
@@ -2020,7 +2020,7 @@ class PyVmomiHelper(PyVmomi):
|
|||||||
network_changes = True
|
network_changes = True
|
||||||
break
|
break
|
||||||
|
|
||||||
if len(self.params['customization']) > 0 or network_changes is True:
|
if len(self.params['customization']) > 0 or network_changes or self.params.get('customization_spec'):
|
||||||
self.customize_vm(vm_obj=vm_obj)
|
self.customize_vm(vm_obj=vm_obj)
|
||||||
|
|
||||||
clonespec = None
|
clonespec = None
|
||||||
|
|||||||
Reference in New Issue
Block a user