Module for running imgadm command on SmartOS
Return a list of available images
search keyword
toggle verbose output
CLI Example:
salt '*' imgadm.avail [percona]
salt '*' imgadm.avail verbose=True
Remove an installed image
Specifies uuid to import
CLI Example:
salt '*' imgadm.delete e42f8c84-bbea-11e2-b920-078fab2aab1f
Get the image uuid from an imported docker image
New in version 2019.2.0.
Return info on an installed image
uuid of image
CLI Example:
salt '*' imgadm.get e42f8c84-bbea-11e2-b920-078fab2aab1f
salt '*' imgadm.get plexinc/pms-docker:plexpass
Import an image from the repository
uuid to import
toggle verbose output
CLI Example:
salt '*' imgadm.import e42f8c84-bbea-11e2-b920-078fab2aab1f [verbose=True]
Return a list of installed images
toggle verbose output
Changed in version 2019.2.0: Docker images are now also listed
CLI Example:
salt '*' imgadm.list
salt '*' imgadm.list docker=True
salt '*' imgadm.list verbose=True
Show manifest of a given image
uuid of image
CLI Example:
salt '*' imgadm.show e42f8c84-bbea-11e2-b920-078fab2aab1f
salt '*' imgadm.show plexinc/pms-docker:plexpass
Add a new source
source url to add
source type, either imgapi or docker
New in version 2019.2.0.
CLI Example:
salt '*' imgadm.source_add https://updates.joyent.com
salt '*' imgadm.source_add https://docker.io docker
Delete a source
source url to delete
New in version 2019.2.0.
CLI Example:
salt '*' imgadm.source_delete https://updates.joyent.com
Return a list of available sources
toggle verbose output
New in version 2019.2.0.
CLI Example:
salt '*' imgadm.sources
Gather info on unknown image(s) (locally installed)
optional uuid of image
CLI Example:
salt '*' imgadm.update [uuid]
Remove unused images
toggle verbose output
CLI Example:
salt '*' imgadm.vacuum [verbose=True]
Return imgadm version
CLI Example:
salt '*' imgadm.version