Revision 1743b05e src/tm_mad/vcenter/cpds

View differences:

src/tm_mad/vcenter/cpds
79 79
    source_ds_ref = ""
80 80

  
81 81
    # If disk is unmanaged get the reference from template
82
    if disk["OPENNEBULA_MANAGED"] && disk["OPENNEBULA_MANAGED"] == "NO"
82
    if disk["OPENNEBULA_MANAGED"] && disk["OPENNEBULA_MANAGED"].downcase == "no"
83 83
        unmanaged_keys = vm.get_unmanaged_keys
84 84
        device_key = unmanaged_keys["opennebula.disk.#{disk["DISK_ID"]}"].to_i
85 85
        image_path, source_ds_ref = vm.get_device_filename_and_ds_from_key(device_key)

Also available in: Unified diff