salt.modules.guestfs

Interact with virtual machine images via libguestfs

depends
  • libguestfs

salt.modules.guestfs.mount(location, access='rw', root=None)

Mount an image

CLI Example:

salt '*' guest.mount /srv/images/fedora.qcow

salt.modules.guestfs.umount(name, disk=None)

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