From 9c1459382551f589c466e4149d3da56be30ad03f Mon Sep 17 00:00:00 2001 From: Vladislav Walek <22072258+vwalek@users.noreply.github.com> Date: Fri, 4 Apr 2025 20:19:12 -0700 Subject: [PATCH] OCPBUGS-54643 - Update docs contain typos - fix for the reported bug Signed-off-by: Vladislav Walek <22072258+vwalek@users.noreply.github.com> --- modules/microshift-updating-rpms-y.adoc | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/modules/microshift-updating-rpms-y.adoc b/modules/microshift-updating-rpms-y.adoc index f6ca340854e4..1f298def2245 100644 --- a/modules/microshift-updating-rpms-y.adoc +++ b/modules/microshift-updating-rpms-y.adoc @@ -27,29 +27,29 @@ You cannot downgrade {microshift-short} with this process. Downgrades are not su .Procedure -. For all lifecycles, enable the repository for your release by running the following command: +. For all lifecycles, enable the repository for the release you want to update to by running the following command: + [source,terminal,subs="attributes+"] ---- $ sudo subscription-manager repos \ - --enable rhocp-4.16-for-9-$(uname -m)-rpms \ - --enable fast-datapath-for-9-$(uname -m)-rpms + --enable rhocp-{ocp-version}-for-rhel-{op-system-version-major}-$(uname -m)-rpms \ + --enable fast-datapath-for-rhel-{op-system-version-major}-$(uname -m)-rpms ---- . For extended support (EUS) releases, also enable the EUS repositories by running the following command: + -[source,terminal] +[source,terminal,subs="attributes+"] ---- -`$ sudo subscription-manager repos \ - --enable rhel-9-for-x86_64-appstream-eus-rpms \ - --enable rhel-9-for-x86_64-baseos-eus-rpms` +$ sudo subscription-manager repos \ + --enable rhel-{op-system-version-major}-for-$(uname -m)-appstream-eus-rpms \ + --enable rhel-{op-system-version-major}-for-$(uname -m)-baseos-eus-rpms ---- . Avoid unintended future updates into an unsupported configuration by locking your operating system version with the following command: + -[source,terminal] +[source,terminal,subs="attributes+"] ---- -$ sudo subscription-manager release --set=9.4 command. +$ sudo subscription-manager release --set={op-system-version} ---- . Update the {microshift-short} RPMs by running the following command: