mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-4757 Support OVA with multiple volumes
If no user configured bootdisk available, choose 1st disk. Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
This commit is contained in:
parent
ac0e7f722f
commit
87352b8c4c
|
|
@ -1264,8 +1264,8 @@ public class HypervisorHostHelper {
|
|||
sizeKb = ((VirtualDisk)device).getCapacityInKB();
|
||||
if (diskCount == osDiskSeqNumber) {
|
||||
osDisk = true;
|
||||
diskCount++;
|
||||
}
|
||||
diskCount++;
|
||||
ovfVolumeInfo = new Ternary<String, Long, Boolean>(files.get(diskCount), sizeKb, osDisk);
|
||||
ovfVolumeInfos.add(ovfVolumeInfo);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue