Skip to content

Commit

Permalink
fix: re-added auto-attach
Browse files Browse the repository at this point in the history
* Rephrased deprecated command section message
* Removed unnecessary usage descriptions
* Re-added auto-attach description and command

Card ID: CCT-545
  • Loading branch information
DuckBoss committed Sep 2, 2024
1 parent 8aa3600 commit 1d01503
Showing 1 changed file with 36 additions and 20 deletions.
56 changes: 36 additions & 20 deletions man/subscription-manager.8
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ is the command-line based client for the Red Hat Subscription Manager tool.
Subscription Manager performs several key operations:
.IP
* It registers systems to the Red Hat subscription management service and adds the system to the inventory. Once a system is registered, it can receive updates based on its subscriptions to any kind of software products.
.IP
* It lists both available and used subscriptions.
.IP
* It allows administrators to apply subscriptions to a system.
.PP
The
.B subscription-manager
Expand Down Expand Up @@ -77,49 +73,52 @@ must be passed as system arguments in a non-interactive session.
2. unregister

.IP
3. release
3. auto-attach

.IP
4. release

.IP
4. list
5. list

.IP
5. refresh
6. refresh

.IP
6. environments
7. environments

.IP
7. repos
8. repos

.IP
8. orgs
9. orgs

.IP
9. plugins
10. plugins

.IP
10. identity
11. identity

.IP
11. facts
12. facts

.IP
12. clean
13. clean

.IP
13. config
14. config

.IP
14. version
15. version

.IP
15. status
16. status

.IP
16. syspurpose
17. syspurpose

.IP
17. repo-override
18. repo-override

.RE

Expand Down Expand Up @@ -274,6 +273,23 @@ command does two important things. Firstly, it will implicitly remove all of the
.PP
This command has no options.

.SS AUTO-ATTACH OPTIONS
The
.B auto-attach
command sets whether the ability to check, attach, and update subscriptions occurs automatically on the system. Auto-attaching subscriptions checks the currently-installed products, attached subscriptions, and any changes in available subscriptions every four hours using the \fBrhsmcertd\fP daemon.

.TP
.B --enable
Enables the auto-attach option for the system. If there is any change in the subscriptions for the system, any subscriptions expire, or any new products are installed, then \fBsubscription-manager\fP detects the changes and automatically attaches the appropriate subscriptions so that the system remains covered.

.TP
.B --disable
Disables the auto-attach option for the system. If auto-attach is disabled, then any changes in installed products or subscriptions for the system (including expired subscriptions) must be addressed manually by the administrator.

.TP
.B --show
Shows whether auto-attach is enabled on the systems.

.SS RELEASE OPTIONS
The
.B release
Expand Down Expand Up @@ -848,7 +864,7 @@ Overall Status: Insufficient
.RE

.SS DEPRECATED COMMANDS
As the structures of subscription configuration have changed, some of the original management commands have become obsolete. Some of these commands have been replaced with updated commands. Deprecated commands, if any, will be listed below.
No commands are currently deprecated.

.SH USAGE
.B subscription-manager
Expand Down

0 comments on commit 1d01503

Please sign in to comment.