Skip to content

Registration is skiped on rhel7.5 because subscription_manager_registered cap no longer works #126

Closed
@asouini

Description

subscription-manager list --consumed no longer returns No consumed subscription pools to list in rhel7.5 but No consumed subscription pools were found instead. they changed the text output.

maybe try something else

false if machine.communicate.sudo("/usr/sbin/subscription-manager list --consumed | grep 'No consumed subscription pools to list'")

replacing it with this works for me now subscription-manager list --consumed --pool-only | grep -E '^[a-f0-9]{32}$'

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions