Run a common state first to fix docker race condition

This commit is contained in:
TOoSmOotH
2020-12-16 09:39:41 -05:00
parent a1fc354a89
commit 8889c79afd

View File

@@ -583,6 +583,9 @@ if [[ "$FLEET_MANAGER" == "True" || "$FLEET_NODE" == "True" ]]; then
echo ""
fi
echo ""
echo "Applying common state for any package updates."
salt-call -l info state.apply common queue=True
echo ""
echo "Running a highstate to complete the Security Onion upgrade on this manager. This could take several minutes."
salt-call state.highstate -l info queue=True