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
netapi
modules