1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-02-03 13:47:01 +03:00

sorting disks in template importation

This commit is contained in:
sergio semedi 2019-01-10 16:52:19 +01:00 committed by Tino Vázquez
parent 0d043e4c1c
commit cbb9cdad05

View File

@ -229,6 +229,7 @@ class Template
#Get disks and info required
vc_disks = get_vcenter_disks
vc_disks.sort_by! {|d| d[:device].unitNumber}
# Track allocated images
allocated_images = []