Module for running imgadm command on SmartOS
salt.modules.smartos_imgadm.
avail
(search=None)¶Return a list of available images
CLI Example:
salt '*' imgadm.avail [percona]
salt.modules.smartos_imgadm.
delete
(uuid=None)¶Remove an installed image
CLI Example:
salt '*' imgadm.delete e42f8c84-bbea-11e2-b920-078fab2aab1f
salt.modules.smartos_imgadm.
get
(uuid=None)¶Return info on an installed image
CLI Example:
salt '*' imgadm.get e42f8c84-bbea-11e2-b920-078fab2aab1f
salt.modules.smartos_imgadm.
import_image
(uuid=None)¶Import an image from the repository
CLI Example:
salt '*' imgadm.import_image e42f8c84-bbea-11e2-b920-078fab2aab1f
salt.modules.smartos_imgadm.
list_installed
()¶Return a list of installed images
CLI Example:
salt '*' imgadm.list_installed
salt.modules.smartos_imgadm.
show
(uuid=None)¶Show manifest of a given image
CLI Example:
salt '*' imgadm.show e42f8c84-bbea-11e2-b920-078fab2aab1f
salt.modules.smartos_imgadm.
update_installed
()¶Gather info on unknown images (locally installed)
CLI Example:
salt '*' imgadm.update_installed()
salt.modules.smartos_imgadm.
version
()¶Return imgadm version
CLI Example:
salt '*' imgadm.version