diff --git a/doc/ref/modules/all/salt.modules.img.rst b/doc/ref/modules/all/salt.modules.img.rst index 20c20726c8..5bd6a6aba6 100644 --- a/doc/ref/modules/all/salt.modules.img.rst +++ b/doc/ref/modules/all/salt.modules.img.rst @@ -3,4 +3,5 @@ salt.modules.img ================ .. automodule:: salt.modules.img - :members: \ No newline at end of file + :members: + :exclude-members: mnt_image diff --git a/salt/modules/img.py b/salt/modules/img.py index 964b4a48d0..3bdb5279b5 100644 --- a/salt/modules/img.py +++ b/salt/modules/img.py @@ -84,7 +84,7 @@ def bootstrap(location, size, fmt): .. code-block:: bash - salt '*' qemu_nbd.bootstrap /srv/salt-images/host.qcow 4096 qcow2 + salt '*' img.bootstrap /srv/salt-images/host.qcow 4096 qcow2 ''' location = __salt__['img.make_image'](location, size, fmt) if not location: