mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Don't upgrade docker or containerd before versionlock is applied
This commit is contained in:
@@ -2816,7 +2816,7 @@ update_sudoers() {
|
||||
update_packages() {
|
||||
if [ "$OS" = 'centos' ]; then
|
||||
yum repolist >> /dev/null
|
||||
yum -y update --exclude=salt*,wazuh* >> "$setup_log"
|
||||
yum -y update --exclude=salt*,wazuh*,docker*,containerd* >> "$setup_log"
|
||||
else
|
||||
retry 50 10 "apt-get -y update" >> "$setup_log" 2>&1 || exit 1
|
||||
retry 50 10 "apt-get -y upgrade" >> "$setup_log" 2>&1 || exit 1
|
||||
|
||||
Reference in New Issue
Block a user