DOKK / manpages / debian 12 / cdist / cdist-type__qemu_img.7.en
CDIST-TYPE__QEMU_IMG(7) cdist CDIST-TYPE__QEMU_IMG(7)

cdist-type__qemu_img - Manage VM disk images

The qemu-img program is used to create qemu images for qemu and (qemu-)kvm.

Either "present" or "absent", defaults to "present"
Size of the image in qemu-img compatible units.

Required if state is "present".


# Create a 50G size image
__qemu_img /home/services/kvm/vm/myvmname/system-disk --size 50G
# Remove image
__qemu_img /home/services/kvm/vm/myoldvm/system-disk --state absent


qemu-img(1)

Nico Schottelius <nico-cdist--@--schottelius.org>

Copyright (C) 2012-2014 Nico Schottelius. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

ungleich GmbH 2021

January 15, 2023 7.0.0