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 范例:

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