Skip to content

Commit 4d169c2

Browse files
Update redhat-rhui.md
1 parent 4001057 commit 4d169c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/virtual-machines/workloads/redhat/redhat-rhui.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ Use the following instructions to lock a RHEL 8.x VM to a particular minor relea
121121
> This only applies for RHEL 8.x versions for which EUS is available. At the time of this writing, this includes RHEL 8.1-8.2. More details are available at the [Red Hat Enterprise Linux Life Cycle](https://access.redhat.com/support/policy/updates/errata) page.
122122
1. Disable non-EUS repos:
123123
```bash
124-
sudo --disablerepo='*' remove 'rhui-azure-rhel8'
124+
sudo yum --disablerepo='*' remove 'rhui-azure-rhel8'
125125
```
126126

127127
1. Get the EUS repos config file:
@@ -142,7 +142,7 @@ Use the following instructions to lock a RHEL 8.x VM to a particular minor relea
142142
>[!NOTE]
143143
> The above instruction will lock the RHEL minor release to the current minor release. Enter a specific minor release if you are looking to upgrade and lock to a later minor release that is not the latest. For example, `echo 8.1 > /etc/yum/vars/releasever` will lock your RHEL version to RHEL 8.1.
144144
>[!NOTE]
145-
> If there are permission issues to access the releasever, you can edit the file using your favorite editor like `nano`, `vi` or`vim` 'vi /etc/yum/vars/releaseve' and add the image version details and save it.
145+
> If there are permission issues to access the releasever, you can edit the file using your favorite editor and add the image version details and save it.
146146
1. Update your RHEL VM
147147
```bash
148148
sudo yum update

0 commit comments

Comments
 (0)