Fix updates for airgap

This commit is contained in:
Mike Reeves
2021-04-25 11:01:21 -04:00
parent 0505664b84
commit 4d0b06dfc7
2 changed files with 4 additions and 5 deletions

View File

@@ -716,6 +716,8 @@ echo ""
echo "Updating dockers to $NEWVERSION."
if [ $is_airgap -eq 0 ]; then
airgap_update_dockers
update_centos_repo
yum clean all
else
update_registry
update_docker_containers "soup"
@@ -737,10 +739,6 @@ preupgrade_changes_2.3.50_repo
if [ "$UPGRADESALT" == "1" ]; then
echo "Upgrading Salt"
# Update the repo files so it can actually upgrade
if [ $is_airgap -eq 0 ]; then
update_centos_repo
yum clean all
fi
upgrade_salt
fi