Skip to content

Commit

Permalink
📝 Fix RHEL install instructions to work. (#5498)
Browse files Browse the repository at this point in the history
* 📝 Fix RHEL install instructions to work.

`sudo ... > ...` doesn't work, use the same `tee` trick as the deb instructions.

* 📝 Echo doesn't process \n by default.
  • Loading branch information
coderanger authored Oct 16, 2023
1 parent d84fe30 commit 308fbb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/sources/flow/setup/install/linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ To install Grafana Agent in flow mode on Linux, run the following commands in a
```rhel-fedora
wget -q -O gpg.key https://rpm.grafana.com/gpg.key
sudo rpm --import gpg.key
sudo echo '[grafana]\nname=grafana\nbaseurl=https://rpm.grafana.com\nrepo_gpgcheck=1\nenabled=1\ngpgcheck=1\ngpgkey=https://rpm.grafana.com/gpg.key\nsslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt' > /etc/yum.repos.d/grafana.repo
echo -e '[grafana]\nname=grafana\nbaseurl=https://rpm.grafana.com\nrepo_gpgcheck=1\nenabled=1\ngpgcheck=1\ngpgkey=https://rpm.grafana.com/gpg.key\nsslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt' | sudo tee /etc/yum.repos.d/grafana.repo
```

```suse-opensuse
Expand Down

0 comments on commit 308fbb5

Please sign in to comment.