mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Merge pull request #12293 from Security-Onion-Solutions/TOoSmOotH-patch-3
fix salt lock for airgap version mismatches
This commit is contained in:
@@ -1933,7 +1933,11 @@ saltify() {
|
|||||||
logCmd "dnf -y install salt-$SALTVERSION salt-master-$SALTVERSION salt-minion-$SALTVERSION"
|
logCmd "dnf -y install salt-$SALTVERSION salt-master-$SALTVERSION salt-minion-$SALTVERSION"
|
||||||
else
|
else
|
||||||
# We just need the minion
|
# We just need the minion
|
||||||
logCmd "dnf -y install salt-$SALTVERSION salt-minion-$SALTVERSION"
|
if [[ $is_airgap ]]; then
|
||||||
|
logCmd "dnf -y install salt salt-minion"
|
||||||
|
else
|
||||||
|
logCmd "dnf -y install salt-$SALTVERSION salt-minion-$SALTVERSION"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user