mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-08 02:02:50 +01:00
Merge pull request #3995 from Security-Onion-Solutions/updateag
Fix updates for airgap
This commit is contained in:
@@ -716,6 +716,8 @@ echo ""
|
|||||||
echo "Updating dockers to $NEWVERSION."
|
echo "Updating dockers to $NEWVERSION."
|
||||||
if [ $is_airgap -eq 0 ]; then
|
if [ $is_airgap -eq 0 ]; then
|
||||||
airgap_update_dockers
|
airgap_update_dockers
|
||||||
|
update_centos_repo
|
||||||
|
yum clean all
|
||||||
else
|
else
|
||||||
update_registry
|
update_registry
|
||||||
update_docker_containers "soup"
|
update_docker_containers "soup"
|
||||||
@@ -737,10 +739,6 @@ preupgrade_changes_2.3.50_repo
|
|||||||
if [ "$UPGRADESALT" == "1" ]; then
|
if [ "$UPGRADESALT" == "1" ]; then
|
||||||
echo "Upgrading Salt"
|
echo "Upgrading Salt"
|
||||||
# Update the repo files so it can actually upgrade
|
# Update the repo files so it can actually upgrade
|
||||||
if [ $is_airgap -eq 0 ]; then
|
|
||||||
update_centos_repo
|
|
||||||
yum clean all
|
|
||||||
fi
|
|
||||||
upgrade_salt
|
upgrade_salt
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@@ -16,8 +16,9 @@ airgap_repo:
|
|||||||
pkgrepo.managed:
|
pkgrepo.managed:
|
||||||
- humanname: Airgap Repo
|
- humanname: Airgap Repo
|
||||||
- baseurl: https://{{ MANAGER }}/repo
|
- baseurl: https://{{ MANAGER }}/repo
|
||||||
- gpgcheck: 1
|
- gpgcheck: 0
|
||||||
- sslverify: 0
|
- sslverify: 0
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
# from airgap and common
|
# from airgap and common
|
||||||
|
|||||||
Reference in New Issue
Block a user