mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-5456: Download root volume when vm is in stopped state fails on hyper-v. Made
changes to make sure the volume entry is created in the db with the right image format.
This commit is contained in:
parent
ad33f0ad66
commit
30d55cf0c4
@ -628,6 +628,8 @@ public class VolumeOrchestrator extends ManagerBase implements VolumeOrchestrati
|
||||
return ImageFormat.OVA;
|
||||
} else if (hyperType == HypervisorType.Ovm) {
|
||||
return ImageFormat.RAW;
|
||||
} else if (hyperType == HypervisorType.Hyperv) {
|
||||
return ImageFormat.VHD;
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user