Skip to content

Commit 72b8ec2

Browse files
roke-julian-lockhartgemini-code-assist[bot]
authored andcommitted
Isolate privilege escalation from wget in README.md.
Means that `wget` need not be invoked by the superuser; rather, solely the repository application command is. Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: Mr. Beedell, Roke Julian Lockhart (RJLB) <wy46xghh@rokejulianlockhart.addy.io>
1 parent 76fe40c commit 72b8ec2

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ Warning: Due to the [signing requirements of the Windows Driver Signing Policy](
3333
Install the repo file using the following command:
3434

3535
```sh
36-
sudo wget https://fedorapeople.org/groups/virt/virtio-win/virtio-win.repo \
37-
-O /etc/yum.repos.d/virtio-win.repo
36+
wget -qO- https://fedorapeople.org/groups/virt/virtio-win/virtio-win.repo | sudo tee /etc/yum.repos.d/virtio-win.repo >/dev/null
3837
```
3938

4039
The default enabled repo is `virtio-win-stable`, but a `virtio-win-latest` repo

0 commit comments

Comments
 (0)