mitigate regression in version 2.20

This commit is contained in:
Jason Healy 2022-06-29 13:18:39 -06:00
Родитель 4459785c58
Коммит ec8cb87e06
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -280,7 +280,7 @@ semanage fcontext -a -t var_log_t "/var/log/journal(/.*)?"
mkdir -p /var/log/journal
for attempt in {1..5}; do
yum --enablerepo=rhui-rhel-7-server-rhui-optional-rpms -y install clamav azsec-clamav azsec-monitor azure-cli azure-mdsd azure-security docker openssl-perl python3 && break
yum --enablerepo=rhui-rhel-7-server-rhui-optional-rpms -y install clamav azsec-clamav azsec-monitor azure-cli azure-mdsd azure-security-2.19.1-248 docker openssl-perl python3 && break
# hack - we are installing python3 on hosts due to an issue with Azure Linux Extensions https://github.com/Azure/azure-linux-extensions/pull/1505
if [[ ${attempt} -lt 5 ]]; then sleep 10; else exit 1; fi
done

Просмотреть файл

@ -543,7 +543,7 @@ semanage fcontext -a -t var_log_t "/var/log/journal(/.*)?"
mkdir -p /var/log/journal
for attempt in {1..5}; do
yum --enablerepo=rhui-rhel-7-server-rhui-optional-rpms -y install clamav azsec-clamav azsec-monitor azure-cli azure-mdsd azure-security docker openssl-perl python3 && break
yum --enablerepo=rhui-rhel-7-server-rhui-optional-rpms -y install clamav azsec-clamav azsec-monitor azure-cli azure-mdsd azure-security-2.19.1-248 docker openssl-perl python3 && break
# hack - we are installing python3 on hosts due to an issue with Azure Linux Extensions https://github.com/Azure/azure-linux-extensions/pull/1505
if [[ ${attempt} -lt 5 ]]; then sleep 10; else exit 1; fi
done