mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
prevent dockers from redownloading if we are updating soup to a branch
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#version cannot be used elsewhere in this pillar as soup is grepping for it to determine if Salt needs to be patched
|
||||
salt:
|
||||
master:
|
||||
version: 3001.1
|
||||
version: 3001
|
||||
@@ -1,4 +1,4 @@
|
||||
#version cannot be used elsewhere in this pillar as soup is grepping for it to determine if Salt needs to be patched
|
||||
salt:
|
||||
minion:
|
||||
version: 3001.1
|
||||
version: 3001
|
||||
@@ -225,11 +225,15 @@ upgrade_check_salt
|
||||
echo "Making pillar changes"
|
||||
pillar_changes
|
||||
echo ""
|
||||
echo "Cleaning up old dockers"
|
||||
clean_dockers
|
||||
echo ""
|
||||
echo "Updating docker to $NEWVERSION"
|
||||
update_dockers
|
||||
|
||||
if [ "$INSTALLEDVERSION" != "$NEWVERSION" ]; then
|
||||
echo "Cleaning up old dockers"
|
||||
clean_dockers
|
||||
echo ""
|
||||
echo "Updating docker to $NEWVERSION"
|
||||
update_dockers
|
||||
fi
|
||||
|
||||
echo ""
|
||||
echo "Copying new code"
|
||||
copy_new_files
|
||||
|
||||
Reference in New Issue
Block a user