Only convert VirtualDiskFix for #57653 clone_with_convert is failing
This commit is contained in:
parent
e9b1e36d76
commit
66d12f6f1e
2 changed files with 3 additions and 4 deletions
|
@ -2214,7 +2214,7 @@ class PyVmomiHelper(PyVmomi):
|
|||
# Convert disk present in template if is set
|
||||
if self.params['convert']:
|
||||
for device in vm_obj.config.hardware.device:
|
||||
if hasattr(device.backing, 'fileName'):
|
||||
if isinstance(device, vim.vm.device.VirtualDisk):
|
||||
disk_locator = vim.vm.RelocateSpec.DiskLocator()
|
||||
disk_locator.diskBackingInfo = vim.vm.device.VirtualDisk.FlatVer2BackingInfo()
|
||||
if self.params['convert'] in ['thin']:
|
||||
|
|
|
@ -91,9 +91,8 @@
|
|||
setup_virtualmachines: true
|
||||
- block:
|
||||
- include: boot_firmware_d1_c1_f0.yml
|
||||
# Failing, see: https://github.com/ansible/ansible/issues/57653
|
||||
# - include: clone_with_convert.yml
|
||||
# - include: clone_customize_guest_test.yml
|
||||
- include: clone_with_convert.yml
|
||||
- include: clone_customize_guest_test.yml
|
||||
- include: max_connections.yml
|
||||
- include: mem_reservation.yml
|
||||
always:
|
||||
|
|
Loading…
Reference in a new issue