Skip to content

Commit 436700b

Browse files
author
Patrick Stephens
committed
install: update docs for AL2022
Signed-off-by: Patrick Stephens <[email protected]>
1 parent 89eead7 commit 436700b

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

installation/linux/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
The most secure option is to create the repositories acccording to the instructions for your specific OS.
44

55
A simple installation script is provided to be used for most Linux targets.
6-
This will always install the most recent version released.
6+
This will by default install the most recent version released.
77

88
```bash
99
curl https://raw.githubusercontent.com/fluent/fluent-bit/master/install.sh | sh

installation/linux/amazon-linux.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,15 @@ curl https://raw.githubusercontent.com/fluent/fluent-bit/master/install.sh | sh
2020
This is purely a convenience helper and should always be validated prior to use.
2121
The recommended secure deployment approach is to follow the instructions below.
2222

23+
### Amazon Linux 2022
24+
25+
For Amazon Linux 2022, until it is GA, we need to force it to use the 2022 `releasever` in Yum but only for the Fluent Bit repository.
26+
27+
```bash
28+
export FLUENT_BIT_INSTALL_COMMAND_PREFIX="sed -i 's|\$releasever/|2022/|g' /etc/yum.repos.d/fluent-bit.repo"
29+
curl https://raw.githubusercontent.com/fluent/fluent-bit/master/install.sh | sh
30+
```
31+
2332
## Configure Yum
2433

2534
We provide **fluent-bit** through a Yum repository. In order to add the repository reference to your system, please add a new file called _fluent-bit.repo_ in _/etc/yum.repos.d/_ with the following content:

0 commit comments

Comments
 (0)