mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-22 18:00:35 +00:00

This allows to build an image with qcow2 as a disk backend. The update implements a new class that inherits from QEMUVolume and just needs the extention and file format.
7 lines
118 B
Python
7 lines
118 B
Python
from qemuvolume import QEMUVolume
|
|
|
|
|
|
class Qcow2Volume(QEMUVolume):
|
|
|
|
extension = 'qcow2'
|
|
qemu_format = 'qcow2'
|