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:
parent
a6b095756c
commit
c98cec17e0
1 changed files with 1 additions and 1 deletions
|
@ -2020,7 +2020,7 @@ class PyVmomiHelper(PyVmomi):
|
|||
network_changes = True
|
||||
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)
|
||||
|
||||
clonespec = None
|
||||
|
|
Loading…
Reference in a new issue