The qemu img command is wrapped for specific functions
depends: | qemu-img |
---|
Convert an existing disk image to another format using qemu-img
CLI Example:
salt '*' qemu_img.convert /path/to/original.img /path/to/new.img qcow2
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
© 2019 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.qemu_img.html