Proxmox Committing Changes to an Image (template)

pgro

Member
Oct 20, 2022
63
2
13
Hi,

With qemu-img you can create a template and then chain it with rest of clones. Later you can use commit command to commit changes back to original template. Is that possible with Proxmox?

EG:
Code:
qemu-img info –backing-chain /var/lib/libvirt/images/test.qcow2
.
.
sudo qemu-img commit /var/lib/libvirt/images/test.qcow2 Image committed

Resource : https://access.redhat.com/documenta...using_qemu_img-committing_changes_to_an_image

Thank you
 
no, and i don't think we can properly implement that, since it's a feature of qcow2 images and would not work with other storages e.g. zfs/ceph
we generally don't want to expose features when it's only working for a (very) limited set of storage types

but you can ofc open a feature request, maybe someone else on the team has a different opinion: https://bugzilla.proxmox.com
 
Hi,
also, in Proxmox VE template images are (treated as) immutable and the intended use case is to create multiple linked clones from the same template, rather than a chain of clones. I don't think commuting back would work nicely for that scenario.