Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"RedHat & CentOS" installer script not working on AlmaLinux 9.4 #5626

Open
Strunck opened this issue Oct 1, 2024 · 1 comment
Open

"RedHat & CentOS" installer script not working on AlmaLinux 9.4 #5626

Strunck opened this issue Oct 1, 2024 · 1 comment

Comments

@Strunck
Copy link

Strunck commented Oct 1, 2024

The "RedHat & CentOS" installer script is not working for me on AlmaLinux 9.4

cat <<EOF | sudo tee /etc/yum.repos.d/influxdata.repo
[influxdata]
name = InfluxData Repository - Stable
baseurl = https://repos.influxdata.com/stable/${basearch}/main
enabled = 1
gpgcheck = 1
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-influxdata
EOF

I think the curly braces around $basearch do not resolve as intended.
If I change the line in the file /etc/yum.repos.d/influxdata.repo to
baseurl = https://repos.influxdata.com/stable/$basearch/main
than it is ok.

Relevant URLs
@jstirnaman
Copy link
Contributor

@Strunck Thanks for pointing this out. It might be caused by a difference in Bash versions. I tested it using the dokken/centos-stream-9 image for Docker.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants