Skip to content

Automated way to remove unused repositories from Satellite #1

@risantam89

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions