Skip to content

salt.module.smartos_imgadm now supports vacuum#26142

Closed
sjorge wants to merge 2 commits intosaltstack:2015.8from
sjorge:imgadm-vacuum
Closed

salt.module.smartos_imgadm now supports vacuum#26142
sjorge wants to merge 2 commits intosaltstack:2015.8from
sjorge:imgadm-vacuum

Conversation

@sjorge
Copy link
Copy Markdown
Contributor

@sjorge sjorge commented Aug 9, 2015

Working my way through issue #25986, added vacuum support to remove unused images.

Slowly getting more familiar with salt modules, first time returning data in a nice dict.
Wouldn't hurt to give it a quick extra sanity check.

[root@core ~]# salt-call --local imgadm.vacuum True
[INFO    ] Executing command '/usr/sbin/imgadm vacuum -f' in directory '/root'
local:
    ----------
    a79dc83a-e3a7-11e4-bfe5-d3bb86399352:
        ----------
        name:
            lx-centos-6
        version:
            20150415
    d5b3865c-0804-11e5-be21-dbc4ce844ddc:
        ----------
        name:
            lx-centos-6
        version:
            20150601
[root@core ~]# salt-call --local imgadm.vacuum
[INFO    ] Executing command '/usr/sbin/imgadm vacuum -f' in directory '/root'
local:
    - d5b3865c-0804-11e5-be21-dbc4ce844ddc

@sjorge sjorge mentioned this pull request Aug 9, 2015
@sjorge
Copy link
Copy Markdown
Contributor Author

sjorge commented Aug 9, 2015

Superseded by PR #26145, closing this one.

@sjorge sjorge closed this Aug 9, 2015
@sjorge sjorge deleted the imgadm-vacuum branch August 11, 2015 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant