# salt.modules.img

Virtual machine image management tools

`salt.modules.img.` `bootstrap`(location, size, fmt)

  HIGHLY EXPERIMENTAL Bootstrap a virtual machine image

  location:
    The location to create the image
  size:
    The size of the image to create in megabytes
  fmt:
    The image format, raw or qcow2

  CLI Example:

      salt '*' qemu_nbd.bootstrap /srv/salt-images/host.qcow 4096 qcow2

`salt.modules.img.` `mnt_image`(location)

  Mount the named image and return the mount point

  CLI Example:

      salt '*' img.mount_image /tmp/foo

`salt.modules.img.` `mount_image`(location)

  Mount the named image and return the mount point

  CLI Example:

      salt '*' img.mount_image /tmp/foo

`salt.modules.img.` `umount_image`(mnt)

  Unmount an image mountpoint

  CLI Example:

      salt '*' img.umount_image /mnt/foo

Current Salt release: 0.17.1

#### Previous topic

salt.modules.hosts

#### Next topic

salt.modules.iptables

### Quick search

Enter search terms or a module, class or function name.

### Upcoming SaltStack Events

My conferences on Lanyrd