mirror of
https://github.com/apache/cloudstack.git
synced 2025-12-16 10:32:34 +01:00
CLOUDSTACK-4386
XS Creating templates from volume - send the physical size in the copycommand which accordingly will populate template store ref and the usage_event tables with the right physical size Signed off by : nitin mehta<nitin.mehta@citrix.com>
This commit is contained in:
parent
0eb1690872
commit
9de7e0af18
@ -1379,6 +1379,7 @@ public class XenServerStorageProcessor implements StorageProcessor {
|
||||
newTemplate.setPath(installPath);
|
||||
newTemplate.setFormat(ImageFormat.VHD);
|
||||
newTemplate.setSize(virtualSize);
|
||||
newTemplate.setPhysicalSize(physicalSize);
|
||||
CopyCmdAnswer answer = new CopyCmdAnswer(newTemplate);
|
||||
return answer;
|
||||
} catch (Exception e) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user