22.16.157. salt.modules.qemu_img

22.16.157.1. Qemu-img Command Wrapper

The qemu img command is wrapped for specific functions

depends:qemu-img
salt.modules.qemu_img.make_image(location, size, fmt)

Create a blank virtual machine image file of the specified size in megabytes. The image can be created in any format supported by qemu

CLI Example:

salt '*' qemu_img.make_image /tmp/image.qcow 2048 qcow2
salt '*' qemu_img.make_image /tmp/image.raw 10240 raw

Docs for previous releases are available on salt.rtfd.org.

Latest Salt release: 2014.1.13

Try the shiny new release candidate of Salt, v2014.7.0rc6! More info here.

Table Of Contents

Previous topic

22.16.156. salt.modules.pyenv

Next topic

22.16.158. salt.modules.qemu_nbd

SaltStack News

Upcoming SaltStack events, webinars and local meet ups and user groups.