89. cdist-type__qemu_img(7)

Manage VM disk images

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

89.1. DESCRIPTION

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

89.2. OPTIONAL PARAMETERS

state
Either “present” or “absent”, defaults to “present”
size

Size of the image in qemu-img compatible units.

Required if state is “present”.

89.3. EXAMPLES

# 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

89.4. SEE ALSO

89.5. COPYING

Copyright (C) 2012-2014 Nico Schottelius. Free use of this software is granted under the terms of the GNU General Public License version 3 (GPLv3).