2012-09-19 19:32:47 +00:00
|
|
|
cdist-type__qemu_img(7)
|
2014-10-17 03:46:49 +00:00
|
|
|
=======================
|
2016-06-23 14:08:59 +00:00
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
|
|
|
cdist-type__qemu_img - Manage VM disk images
|
2012-09-19 19:32:47 +00:00
|
|
|
|
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
|
|
|
The qemu-img program is used to create qemu images for
|
|
|
|
qemu and (qemu-)kvm.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
OPTIONAL PARAMETERS
|
|
|
|
-------------------
|
2016-05-20 06:50:56 +00:00
|
|
|
state
|
2012-11-07 18:22:02 +00:00
|
|
|
Either "present" or "absent", defaults to "present"
|
2016-05-20 06:50:56 +00:00
|
|
|
size
|
2014-03-31 19:22:29 +00:00
|
|
|
Size of the image in qemu-img compatible units.
|
|
|
|
|
|
|
|
Required if state is "present".
|
2012-09-19 19:32:47 +00:00
|
|
|
|
|
|
|
|
|
|
|
EXAMPLES
|
|
|
|
--------
|
|
|
|
|
2016-05-20 06:50:56 +00:00
|
|
|
.. code-block:: sh
|
|
|
|
|
|
|
|
# Create a 50G size image
|
|
|
|
__qemu_img /home/services/kvm/vm/myvmname/system-disk --size 50G
|
2012-09-19 19:32:47 +00:00
|
|
|
|
2016-05-20 06:50:56 +00:00
|
|
|
# Remove image
|
|
|
|
__qemu_img /home/services/kvm/vm/myoldvm/system-disk --state absent
|
2012-09-19 19:32:47 +00:00
|
|
|
|
|
|
|
|
|
|
|
SEE ALSO
|
|
|
|
--------
|
2016-06-30 13:12:32 +00:00
|
|
|
:strong:`qemu-img`\ (1)
|
2016-06-17 19:28:16 +00:00
|
|
|
|
|
|
|
|
|
|
|
AUTHORS
|
|
|
|
-------
|
|
|
|
Nico Schottelius <nico-cdist--@--schottelius.org>
|
2012-09-19 19:32:47 +00:00
|
|
|
|
|
|
|
|
|
|
|
COPYING
|
|
|
|
-------
|
2014-03-31 19:22:29 +00:00
|
|
|
Copyright \(C) 2012-2014 Nico Schottelius. Free use of this software is
|
2012-09-19 19:32:47 +00:00
|
|
|
granted under the terms of the GNU General Public License version 3 (GPLv3).
|