Proxmox Committing Changes to an Image (template)

pgro

Member
Oct 20, 2022
56
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.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!