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. |
||
---|---|---|
.. | ||
host_vars | ||
targets | ||
cloud-config-aws.ini.template | ||
cloud-config-azure.ini.template | ||
cloud-config-cloudscale.ini.template | ||
cloud-config-cs.ini.template | ||
cloud-config-gcp.ini.template | ||
cloud-config-hcloud.ini.template | ||
cloud-config-opennebula.ini.template | ||
cloud-config-openshift.kubeconfig.template | ||
cloud-config-scaleway.ini.template | ||
cloud-config-tower.ini.template | ||
cloud-config-vcenter.ini.template | ||
cloud-config-vultr.ini.template | ||
integration.cfg | ||
integration_config.yml | ||
inventory | ||
inventory.networking.template | ||
inventory.remote.template | ||
inventory.winrm.template | ||
network-integration.cfg | ||
target-prefixes.network | ||
windows-integration.cfg |