mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
repo update
This commit is contained in:
@@ -861,7 +861,7 @@ upgrade_salt() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
upgrade_to_2.3.50_repo() {
|
update_repo() {
|
||||||
echo "Performing repo changes."
|
echo "Performing repo changes."
|
||||||
if [[ "$OS" == "centos" ]]; then
|
if [[ "$OS" == "centos" ]]; then
|
||||||
# Import GPG Keys
|
# Import GPG Keys
|
||||||
@@ -1055,7 +1055,7 @@ main() {
|
|||||||
|
|
||||||
stop_salt_master
|
stop_salt_master
|
||||||
|
|
||||||
upgrade_to_2.3.50_repo
|
update_repo
|
||||||
|
|
||||||
# Does salt need upgraded. If so update it.
|
# Does salt need upgraded. If so update it.
|
||||||
if [[ $UPGRADESALT -eq 1 ]]; then
|
if [[ $UPGRADESALT -eq 1 ]]; then
|
||||||
|
|||||||
@@ -42,18 +42,11 @@ gpgkey=file:///etc/pki/rpm-gpg/docker.pub
|
|||||||
|
|
||||||
[saltstack]
|
[saltstack]
|
||||||
name=SaltStack repo for RHEL/CentOS $releasever PY3
|
name=SaltStack repo for RHEL/CentOS $releasever PY3
|
||||||
baseurl=https://repo.securityonion.net/file/securityonion-repo/saltstack3003/
|
baseurl=https://repo.securityonion.net/file/securityonion-repo/saltstack/
|
||||||
enabled=1
|
enabled=1
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/SALTSTACK-GPG-KEY.pub
|
gpgkey=file:///etc/pki/rpm-gpg/SALTSTACK-GPG-KEY.pub
|
||||||
|
|
||||||
[saltstack3003]
|
|
||||||
name=SaltStack repo for RHEL/CentOS $releasever PY3
|
|
||||||
baseurl=https://repo.securityonion.net/file/securityonion-repo/saltstack3003/
|
|
||||||
enabled=1
|
|
||||||
gpgcheck=1
|
|
||||||
gpgkey=https://repo.securityonion.net/file/securityonion-repo/keys/SALTSTACK-GPG-KEY.pub
|
|
||||||
|
|
||||||
[wazuh_repo]
|
[wazuh_repo]
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/GPG-KEY-WAZUH
|
gpgkey=file:///etc/pki/rpm-gpg/GPG-KEY-WAZUH
|
||||||
|
|||||||
Reference in New Issue
Block a user