mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
fix other OS installs
This commit is contained in:
@@ -210,6 +210,9 @@ gpg_rpm_import() {
|
|||||||
rpm --import $RPMKEYSLOC/$RPMKEY
|
rpm --import $RPMKEYSLOC/$RPMKEY
|
||||||
echo "Imported $RPMKEY"
|
echo "Imported $RPMKEY"
|
||||||
done
|
done
|
||||||
|
else
|
||||||
|
info "Importing the security onion GPG key"
|
||||||
|
rpm --import ../salt/repo/client/files/oracle/keys/securityonion.pub
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -2002,6 +2002,7 @@ repo_sync_local() {
|
|||||||
if [[ $is_rpm ]]; then
|
if [[ $is_rpm ]]; then
|
||||||
dnf -y install epel-release
|
dnf -y install epel-release
|
||||||
dnf install -y yum-utils device-mapper-persistent-data lvm2
|
dnf install -y yum-utils device-mapper-persistent-data lvm2
|
||||||
|
curl -fsSL https://repo.securityonion.net/file/so-repo/prod/2.4/so/so.repo | tee /etc/yum.repos.d/so.repo
|
||||||
rpm --import https://repo.saltproject.io/salt/py3/redhat/9/x86_64/SALT-PROJECT-GPG-PUBKEY-2023.pub
|
rpm --import https://repo.saltproject.io/salt/py3/redhat/9/x86_64/SALT-PROJECT-GPG-PUBKEY-2023.pub
|
||||||
if [[ $is_rhel ]]; then
|
if [[ $is_rhel ]]; then
|
||||||
dnf config-manager --add-repo https://download.docker.com/linux/rhel/docker-ce.repo
|
dnf config-manager --add-repo https://download.docker.com/linux/rhel/docker-ce.repo
|
||||||
|
|||||||
Reference in New Issue
Block a user