mirror of https://github.com/apache/cloudstack.git
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…
Reference in New Issue