Revision 1743b05e src/tm_mad/vcenter/clone

View differences:

src/tm_mad/vcenter/clone
93 93

  
94 94
    # Unmanaged disks are those with OPENNEBULA_MANAGED=NO or volatile disks
95 95
    # that are created in StorageDRS clusters
96
    unmanaged_disk = (!!disk['OPENNEBULA_MANAGED'] && disk['OPENNEBULA_MANAGED'] == "NO") ||
96
    unmanaged_disk = (!!disk['OPENNEBULA_MANAGED'] && disk['OPENNEBULA_MANAGED'].downcase == "no") ||
97 97
                     (target_ds_ref.start_with?('group-') && !!disk["TYPE"] && disk["TYPE"].downcase == "fs")
98 98

  
99 99
    if !unmanaged_disk

Also available in: Unified diff