Skip to content

Commit 9c73b5a

Browse files
Merge pull request #91678 from vwalek/vwalek-OCPBUGS-54643
OCPBUGS-54643 - Update docs contain typos - fix for the reported bug
2 parents 41cee05 + 8747090 commit 9c73b5a

File tree

1 file changed

+9
-14
lines changed

1 file changed

+9
-14
lines changed

modules/microshift-updating-rpms-y.adoc

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -24,35 +24,30 @@ You cannot downgrade {microshift-short} with this process. Downgrades are not su
2424

2525
.Procedure
2626

27-
. For all lifecycles, enable the repository for your release by running the following command:
27+
. For all lifecycles, enable the repository for the release you want to update to by running the following command:
2828
+
2929
[source,terminal,subs="attributes+"]
3030
----
3131
$ sudo subscription-manager repos \
32-
--enable rhocp-<x.y>-for-<9>-$(uname -m)-rpms \ # <1>
33-
--enable fast-datapath-for-<9>-$(uname -m)-rpms # <2>
32+
--enable rhocp-{ocp-version}-for-rhel-{op-system-version-major}-$(uname -m)-rpms \
33+
--enable fast-datapath-for-rhel-{op-system-version-major}-$(uname -m)-rpms
3434
----
35-
<1> Replace _<x.y>_ and _<9>_ with the compatible versions of your {microshift-short} and {op-system-base-full}.
36-
<2> Replace _<9>_ with the compatible version of {op-system-base}.
3735

3836
. For extended support (EUS) releases, also enable the EUS repositories by running the following command:
3937
+
40-
[source,terminal]
38+
[source,terminal,subs="attributes+"]
4139
----
42-
`$ sudo subscription-manager repos \
43-
--enable rhel-<9>-for-x86_64-appstream-eus-rpms \ # <1>
44-
--enable rhel-<9>-for-x86_64-baseos-eus-rpms` # <2>
40+
$ sudo subscription-manager repos \
41+
--enable rhel-{op-system-version-major}-for-$(uname -m)-appstream-eus-rpms \
42+
--enable rhel-{op-system-version-major}-for-$(uname -m)-baseos-eus-rpms
4543
----
46-
<1> Replace _<9>_ with the compatible major version number of {op-system-base}.
47-
<2> Replace _<9>_ with the compatible major version number of {op-system-base}.
4844

4945
. Avoid unintended future updates into an unsupported configuration by locking your operating system version with the following command:
5046
+
51-
[source,terminal]
47+
[source,terminal,subs="attributes+"]
5248
----
53-
$ sudo subscription-manager release --set=<9.4> command. # <1>
49+
$ sudo subscription-manager release --set={op-system-version}
5450
----
55-
<1> Replace _<9.4>_ with the major and minor version of your compatible {op-system-base} system.
5651

5752
. Update the {microshift-short} RPMs by running the following command:
5853
+

0 commit comments

Comments
 (0)