Skip to content

Commit cfd69be

Browse files
committed
OSDOCS-13596: corrects repo enablement commands MicroShift
1 parent e4aa5b0 commit cfd69be

File tree

1 file changed

+9
-14
lines changed

1 file changed

+9
-14
lines changed

modules/microshift-install-rpms.adoc

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -20,30 +20,25 @@ Use the following procedure to install {microshift-short} from an RPM package.
2020
[source,terminal,subs="attributes+"]
2121
----
2222
$ sudo subscription-manager repos \
23-
--enable rhocp-_<4.19>_-for-_<9>_-$(uname -m)-rpms \ # <1>
24-
--enable fast-datapath-for-_<9>_-$(uname -m)-rpms # <2>
23+
--enable rhocp-{ocp-version}-for-rhel-{op-system-version-major}-$(uname -m)-rpms \
24+
--enable fast-datapath-for-rhel-{op-system-version-major}-$(uname -m)-rpms
2525
----
26-
<1> Replace `_<4.19>_` and `_<9>_` with the compatible versions of your {microshift-short} and {op-system-base-full}.
27-
<2> Replace `_<9>_` with the compatible version of {op-system-base}.
2826

2927
. For extended support (EUS) releases, also enable the EUS repositories by running the following command:
3028
+
31-
[source,terminal,subs="+quotes"]
29+
[source,terminal,subs="attributes+"]
3230
----
33-
`$ sudo subscription-manager repos \
34-
--enable rhel-_<9>_-for-x86_64-appstream-eus-rpms \ # <1>
35-
--enable rhel-_<9>_-for-x86_64-baseos-eus-rpms` # <2>
31+
$ sudo subscription-manager repos \
32+
--enable rhel-{op-system-version-major}-for-$(uname -m)-appstream-eus-rpms \
33+
--enable rhel-{op-system-version-major}-for-$(uname -m)-baseos-eus-rpms
3634
----
37-
<1> Replace `_<9>_` with the compatible major version number of {op-system-base}.
38-
<2> Replace `_<9>_` with the compatible major version number of {op-system-base}.
3935

4036
. Avoid unintended future updates into an unsupported configuration by locking your operating system version with the following command:
4137
+
42-
[source,terminal,subs="+quotes"]
38+
[source,terminal,subs="attributes+"]
4339
----
44-
$ sudo subscription-manager release --set=_<9.6>_ command. # <1>
40+
$ sudo subscription-manager release --set={op-system-version}
4541
----
46-
<1> Replace `_<9.6>_` with the major and minor version of your compatible {op-system-base} system.
4742

4843
. Install {microshift-short} by running the following command:
4944
+
@@ -92,4 +87,4 @@ $ sudo firewall-cmd --permanent --zone=trusted --add-source=169.254.169.1
9287
$ sudo firewall-cmd --reload
9388
----
9489

95-
If the Volume Group (VG) that you have prepared for {microshift-short} used the default name `rhel`, no further configuration is necessary. If you have used a different name, or if you want to change more configuration settings, see the Configuring {microshift-short} section.
90+
. If the Volume Group (VG) that you have prepared for {microshift-short} used the default name `rhel`, no further configuration is necessary. If you have used a different name, or if you want to change more configuration settings, see the "Using the {microshift-short} configuration file" section.

0 commit comments

Comments
 (0)