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:
parent
0d043e4c1c
commit
cbb9cdad05
@ -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 = []
|
||||
|
Loading…
x
Reference in New Issue
Block a user