1ec155e773
If a VM has an attached CDROM, `backing` attribute of the CDROM will be defined. As a result, we cannot just loop `vm_obj.config.hardware.device` and check for the existance of the attribute to decide if the entry is a harddrive. Instead, we check the type of the device, and only keep the `vim.vm.device.VirtualDisk` disk. This issue is actually breaking our test-suite with regular environment because we keep a Fedora ISO attached to the VM. |
||
---|---|---|
.. | ||
boot_firmware_d1_c1_f0.yml | ||
cdrom_d1_c1_f0.yml | ||
check_mode.yml | ||
clone_customize_guest_test.yml | ||
clone_d1_c1_f0.yml | ||
clone_resize_disks.yml | ||
clone_with_convert.yml | ||
create_d1_c1_f0.yml | ||
create_guest_invalid_d1_c1_f0.yml | ||
create_nw_d1_c1_f0.yml | ||
create_rp_d1_c1_f0.yml | ||
delete_vm.yml | ||
disk_mode_d1_c1_f0.yml | ||
disk_size_d1_c1_f0.yml | ||
disk_type_d1_c1_f0.yml | ||
linked_clone_d1_c1_f0.yml | ||
mac_address_d1_c1_f0.yml | ||
main.yml | ||
max_connections.yml | ||
mem_reservation.yml | ||
network_negative_test.yml | ||
network_with_device.yml | ||
network_with_dvpg.yml | ||
network_with_portgroup.yml | ||
non_existent_vm_ops.yml | ||
poweroff_d1_c1_f0.yml | ||
poweroff_d1_c1_f1.yml | ||
run_test_playbook.yml | ||
template_d1_c1_f0.yml | ||
vapp_d1_c1_f0.yml | ||
windows_vbs_d1_c1_f0.yml |