Commit 9cb8e04
committed
[subscription_manager] Add condition to run deprecated options
Some subscription_manager options have been deprecated
in RHEL 10, and when they are run thrown an error.
This fix adds a check for OS version and if it's
not RHEL 10, runs the deprecated commands.
Related: RHEL-130523
Signed-off-by: Jose Castillo <[email protected]>1 parent 122caf9 commit 9cb8e04
1 file changed
+7
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
71 | | - | |
72 | 70 | | |
73 | 71 | | |
74 | 72 | | |
75 | | - | |
76 | | - | |
77 | 73 | | |
78 | 74 | | |
79 | 75 | | |
80 | 76 | | |
81 | 77 | | |
82 | 78 | | |
83 | 79 | | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
84 | 87 | | |
85 | 88 | | |
86 | 89 | | |
| |||
0 commit comments