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