mirror of
https://github.com/apache/cloudstack.git
synced 2025-12-16 18:43:26 +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.setPath(installPath);
|
||||||
newTemplate.setFormat(ImageFormat.VHD);
|
newTemplate.setFormat(ImageFormat.VHD);
|
||||||
newTemplate.setSize(virtualSize);
|
newTemplate.setSize(virtualSize);
|
||||||
|
newTemplate.setPhysicalSize(physicalSize);
|
||||||
CopyCmdAnswer answer = new CopyCmdAnswer(newTemplate);
|
CopyCmdAnswer answer = new CopyCmdAnswer(newTemplate);
|
||||||
return answer;
|
return answer;
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user