]> git.proxmox.com Git - qemu-server.git/commit - PVE/QemuServer.pm
template: add -snapshot to KVM command
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Fri, 4 Jun 2021 09:47:47 +0000 (11:47 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 23 Jun 2021 10:37:40 +0000 (12:37 +0200)
commit85fcf79e21c6705679a16a4a326033a0e82f3d32
tree301b6c4bb45545496c441891a05ab90e2c4409f9
parent2c53ff94fa92e3b6f8958a9852d381eadefaf021
template: add -snapshot to KVM command

this allows effectively setting ALL volumes as read-only, even if the
disk controller does not support it. without it, IDE and SATA disks
with (base) volumes which are marked read-only/immutable on the storage
level prevent the template VM from starting for backup purposes.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
PVE/QemuServer.pm
test/cfg2cmd/efi-raw-template.conf.cmd
test/cfg2cmd/simple1-template.conf.cmd