Skip to content

Automated way to remove unused repositories from Satellite #1

Description

@risantam89

Make coma list of repo_ids that are not part of content view to use this list for foreman-rake command to remove repository

This is one example:

cat << EORAKE | foreman-rake console
[313, 108, 109].each do |x|
Katello::Repository.find(x).destroy
end
EORAKE

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions