Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vmware_guest: clone VM with attached CDROM #56593

Merged
merged 1 commit into from Jul 30, 2019

Commits on Jul 29, 2019

  1. vmware_guest: clone VM with attached CDROM

    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.
    goneri committed Jul 29, 2019
    Copy the full SHA
    ae6c493 View commit details
    Browse the repository at this point in the history