Skip to content

Commit 9346b24

Browse files
authored
use curl instead of wget
Use curl instead of wget. wget is not installed by default when we deploy VM from marketplace image. And sudo is not required to get config.
1 parent 8e056a9 commit 9346b24

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
@@ -105,7 +105,7 @@ Use the following procedure to lock a RHEL 8.x VM to a particular minor release.
105105
1. Get the EUS repository `config` file.
106106

107107
```bash
108-
sudo wget https://rhelimage.blob.core.windows.net/repositories/rhui-microsoft-azure-rhel8-eus.config
108+
curl -O https://rhelimage.blob.core.windows.net/repositories/rhui-microsoft-azure-rhel8-eus.config
109109
```
110110

111111
1. Add EUS repositories.
@@ -150,7 +150,7 @@ To remove the version lock, use the following commands. Run the commands as `roo
150150
1. Get the regular repositories `config` file.
151151

152152
```bash
153-
sudo wget https://rhelimage.blob.core.windows.net/repositories/rhui-microsoft-azure-rhel8.config
153+
curl -O https://rhelimage.blob.core.windows.net/repositories/rhui-microsoft-azure-rhel8.config
154154
```
155155

156156
1. Add non-EUS repository.

0 commit comments

Comments
 (0)