Interact with virtual machine images via libguestfs
libguestfs
Mount an image
CLI Example:
salt '*' guest.mount /srv/images/fedora.qcow
Unmount an image
CLI Example:
salt '*' guestfs.umount /mountpoint disk=/srv/images/fedora.qcow
© 2021 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltproject.io/en/latest/ref/modules/all/salt.modules.guestfs.html