Red Hat Subscription Manager: Difference between revisions
Jump to navigation
Jump to search
(→list) |
(→list) |
||
Line 12: | Line 12: | ||
==list== | ==list== | ||
List subscription and product information for this system. By default, the list shows all products that are already installed: | List subscription and product information for this system. | ||
By default, the list shows all products that are already installed. This is equivalent with using "--installed": | |||
<pre> | <pre> | ||
Line 28: | Line 30: | ||
Starts: 12/26/2016 | Starts: 12/26/2016 | ||
Ends: 12/26/2017 | Ends: 12/26/2017 | ||
</pre> | |||
===--available=== | |||
<Pre> | |||
subscription-manager list --available | |||
</pre> | </pre> | ||
Revision as of 17:45, 22 May 2017
Overview
Concepts
Pool
Commands
register
list
List subscription and product information for this system.
By default, the list shows all products that are already installed. This is equivalent with using "--installed":
subscription-manager list +-------------------------------------------+ Installed Product Status +-------------------------------------------+ Product Name: Red Hat Enterprise Linux Server Product ID: 69 Version: 7.3 Arch: x86_64 Status: Subscribed Status Details: Starts: 12/26/2016 Ends: 12/26/2017
--available
subscription-manager list --available
refresh
Pull the latest subscription data from the server.
subscription-manager refresh
attach
Attach a specified subscription to the registered system
subscription-manager attach --auto
subscription-manager attach --pool
Register a Linux System
The first step requires the registration of the system with the credentials linked to subscription.
[root@rhel-test ~]# subscription-manager register Username: <your-subscription-user> Password: The system has been registered with ID: 8ccbea2c-8b26-4049-b2f5-ed5487ea9cb1
subscription-manager refresh
subscription-manager attach --auto
subscription-manager list subscription-manager list --available --all