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:
Sateesh Chodapuneedi 2014-03-12 19:14:04 +05:30 committed by Likitha Shetty
parent ac0e7f722f
commit 87352b8c4c
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}