just like on packages.icinga.com and for the same security reasons we don't
use apt-key add anymore for: https://blog.cloudflare.com/dont-use-apt-key

Our repos already reference https://packages.icinga.com/icinga.key
and both RPM distro families properly handle that.
This commit is contained in:
Alexander A. Klimov 2024-05-16 13:13:13 +02:00
parent cb945feb19
commit d68b328c9e

View File

@ -95,7 +95,6 @@ apt update
### CentOS Repository <a id="centos-repository"></a> ### CentOS Repository <a id="centos-repository"></a>
```bash ```bash
rpm --import https://packages.icinga.com/icinga.key
wget https://packages.icinga.com/centos/ICINGA-release.repo -O /etc/yum.repos.d/ICINGA-release.repo wget https://packages.icinga.com/centos/ICINGA-release.repo -O /etc/yum.repos.d/ICINGA-release.repo
``` ```
@ -118,7 +117,6 @@ yum install epel-release
Don't forget to fill in the username and password section with your credentials in the local .repo file. Don't forget to fill in the username and password section with your credentials in the local .repo file.
```bash ```bash
rpm --import https://packages.icinga.com/icinga.key
wget https://packages.icinga.com/subscription/rhel/ICINGA-release.repo -O /etc/yum.repos.d/ICINGA-release.repo wget https://packages.icinga.com/subscription/rhel/ICINGA-release.repo -O /etc/yum.repos.d/ICINGA-release.repo
``` ```
@ -150,7 +148,6 @@ yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.r
### Fedora Repository <a id="fedora-repository"></a> ### Fedora Repository <a id="fedora-repository"></a>
```bash ```bash
rpm --import https://packages.icinga.com/icinga.key
dnf install -y 'dnf-command(config-manager)' dnf install -y 'dnf-command(config-manager)'
dnf config-manager --add-repo https://packages.icinga.com/fedora/$(. /etc/os-release; echo "$VERSION_ID")/release dnf config-manager --add-repo https://packages.icinga.com/fedora/$(. /etc/os-release; echo "$VERSION_ID")/release
``` ```
@ -167,8 +164,6 @@ dnf config-manager --add-repo https://packages.icinga.com/fedora/$(. /etc/os-rel
Don't forget to fill in the username and password section with your credentials in the local .repo file. Don't forget to fill in the username and password section with your credentials in the local .repo file.
```bash ```bash
rpm --import https://packages.icinga.com/icinga.key
zypper ar https://packages.icinga.com/subscription/sles/ICINGA-release.repo zypper ar https://packages.icinga.com/subscription/sles/ICINGA-release.repo
zypper ref zypper ref
``` ```
@ -186,8 +181,6 @@ SUSEConnect -p PackageHub/$VERSION_ID/x86_64
### openSUSE Repository <a id="opensuse-repository"></a> ### openSUSE Repository <a id="opensuse-repository"></a>
```bash ```bash
rpm --import https://packages.icinga.com/icinga.key
zypper ar https://packages.icinga.com/openSUSE/ICINGA-release.repo zypper ar https://packages.icinga.com/openSUSE/ICINGA-release.repo
zypper ref zypper ref
``` ```
@ -210,7 +203,6 @@ zypper ar https://download.opensuse.org/repositories/server:/monitoring/15.3/ser
Don't forget to fill in the username and password section with your credentials in the local .repo file. Don't forget to fill in the username and password section with your credentials in the local .repo file.
```bash ```bash
rpm --import https://packages.icinga.com/icinga.key
wget https://packages.icinga.com/subscription/amazon/ICINGA-release.repo -O /etc/yum.repos.d/ICINGA-release.repo wget https://packages.icinga.com/subscription/amazon/ICINGA-release.repo -O /etc/yum.repos.d/ICINGA-release.repo
``` ```