Module Expr Str ImportFrom alias Import alias Import alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str If CompareIn Str NameLoad body Assign NameStore Str orelse If CompareIn Str NameLoad body Assign NameStore Str orelse Assign NameStore Str Return Call SubscriptLoad NameLoad Index Str NameLoad keyword NameLoad decorator_list Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Return Call SubscriptLoad NameLoad Index Str NameLoad keyword Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Assign NameStore Call SubscriptLoad NameLoad Index Str NameLoad NameLoad NameLoad If UnaryOpNot NameLoad body Return Str Assign NameStore Call SubscriptLoad NameLoad Index Str NameLoad Expr Call SubscriptLoad NameLoad Index Str NameLoad Str Expr Call SubscriptLoad NameLoad Index Str NameLoad Str Str Num Num Expr Call SubscriptLoad NameLoad Index Str NameLoad Expr Call SubscriptLoad NameLoad Index Str Call AttributeLoad Str attr NameLoad Str Assign NameStore Call SubscriptLoad NameLoad Index Str NameLoad decorator_list
N/A N/A 
Virtual machine image management tools
 __future__ absolute_import N/A logging N/A salt.utils N/A log N/A N/A logging getLogger __name__ mount_image N/A N/A location N/A N/A N/A 
    Mount the named image and return the mount point

    CLI Example:

    .. code-block:: bash

        salt '*' img.mount_image /tmp/foo
     N/A N/A N/A N/A salt utils warn_until Nitrogen This function has been deprecated; use "mount.mount" instead. Please note that in order to use this functionality with "mount.mount" you must set the "util" argument to either "guestfs" or "qemu_nbd". N/A N/A guestfs.mount __salt__ N/A N/A util guestfs N/A N/A N/A qemu_nbd.init __salt__ N/A N/A util qemu_nbd N/A N/A util mount N/A N/A N/A __salt__ N/A mount.mount location util util N/A N/A mnt_image N/A N/A N/A salt utils alias_function mount_image mnt_image umount_image N/A N/A mnt N/A N/A N/A 
    Unmount an image mountpoint

    CLI Example:

    .. code-block:: bash

        salt '*' img.umount_image /mnt/foo
     N/A N/A N/A N/A salt utils warn_until Nitrogen This function has been deprecated; use "mount.umount" instead. Please note that in order to access this functionality with "mount.umount" you must pass in a "util" argument other than "mount". N/A N/A N/A __salt__ N/A mount.umount mnt util qemu_nbd N/A bootstrap N/A N/A location size fmt N/A N/A N/A 
    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:

    .. code-block:: bash

        salt '*' img.bootstrap /srv/salt-images/host.qcow 4096 qcow2
     N/A N/A N/A N/A salt utils warn_until Nitrogen This functionality has been deprecated; use "genesis.bootstrap" instead. Please note that the arguments between "img.boostrap" and genesis.bootstrap have changed. N/A location N/A N/A __salt__ N/A img.make_image location size fmt N/A N/A location N/A N/A N/A nbd N/A N/A __salt__ N/A qemu_nbd.connect location N/A N/A N/A __salt__ N/A partition.mklabel nbd msdos N/A N/A N/A __salt__ N/A partition.mkpart nbd primary ext4 1 -1 N/A N/A N/A __salt__ N/A partition.probe nbd N/A N/A N/A __salt__ N/A partition.mkfs N/A N/A {0}p1 format nbd ext4 N/A mnt N/A N/A __salt__ N/A qemu_nbd.mount nbd N/A