Irgendwann am Thu, Oct 13, 2016 at 11:47:40AM -0700, schrieb Poornima 
Kshirsagar:
[snip]
> I tried your suggestion 
> ~~~
>  subscription-manager repos --enable=rhel-7-server-optional-rpms 
> Error: rhel-7-server-optional-rpms is not a valid repository ID. Use --list 
> option to see valid repositories.
> ~~~
> This needs RHEL subscription :
> 
> subscription-manager list
> 
> +-------------------------------------------+
>     Installed Product Status
> +-------------------------------------------+
> Product Name:   Red Hat Enterprise Linux 7 Public Beta
> Product ID:     226
> Version:        7.0 Beta
> Arch:           x86_64
> Status:         Not Subscribed
> Status Details: Not supported by a valid subscription.
> Starts:         
> Ends:           
> 
> Product Name:   Red Hat Enterprise Linux Server
> Product ID:     69
> Version:        7.2
> Arch:           x86_64
> Status:         Not Subscribed
> Status Details: Not supported by a valid subscription.

Please note this: ^^^^^^^^^^^^^^

Looks like you've registered your system to RHSM, but have not added
any product subscription. Easiest way to do this would be:

# subscription-manager attach --auto

(Or run s-m list --available, note down Pool ID and pass as param)

Once this is done, # yum repolist should acknowledge the presence of
rhel-7-server-optional-rpms/7Server/x86_64 or something very
similar. Thereafter, you should be able to --enable/--disable as
needed.

Let me know if this works.

Anurag

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to