cdist-type__qemu_img(7)

cdist-type__qemu_img7

Manage vm disk images

Overview

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

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".

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

Copying

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.

Releases

5 releases since Debian 9 (Stretch); the text changed 4 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13

Authors

Nico Schottelius <[email protected]>

From cdist 7.0.0-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.