Omer Frenkel has submitted this change and it was merged.
Change subject: core: allow snapshots for imported templates
......................................................................
core: allow snapshots for imported templates
when importing template, the AllowSnapshot is not initialized,
so by default its false, making all the disks not allowed to have snapshots.
this value is copied to the vms and is problematic.
when importing template, it is safe to assume that the AllowSnapshot is true for the
disks,
as we only export disks that AllowSnapshot is true.
(this already happens for vms, this patch fix this for templates)
Change-Id: I12413c8b63a0085bbdb68419318eea77a95c85dd
Signed-off-by: Omer Frenkel <ofrenkel(a)redhat.com>
---
M
backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/ovf/OvfManager.java
1 file changed, 2 insertions(+), 0 deletions(-)
Approvals:
Omer Frenkel: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/5720
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I12413c8b63a0085bbdb68419318eea77a95c85dd
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Omer Frenkel <ofrenkel(a)redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipchuk(a)redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel(a)redhat.com>
Gerrit-Reviewer: Roy Golan <rgolan(a)redhat.com>