diff --git a/images/linux/scripts/installers/configure-environment.sh b/images/linux/scripts/installers/configure-environment.sh index 851e113a8..47bebc0e0 100644 --- a/images/linux/scripts/installers/configure-environment.sh +++ b/images/linux/scripts/installers/configure-environment.sh @@ -1,5 +1,8 @@ #!/bin/bash -e +# Source the helpers for use with the script +source $HELPER_SCRIPTS/os.sh + # Set ImageVersion and ImageOS env variables echo ImageVersion=$IMAGE_VERSION | tee -a /etc/environment echo ImageOS=$IMAGE_OS | tee -a /etc/environment @@ -40,3 +43,9 @@ if [[ -f "/etc/fwupd/daemon.conf" ]]; then sed -i 's/UpdateMotd=true/UpdateMotd=false/g' /etc/fwupd/daemon.conf systemctl mask fwupd-refresh.timer fi + +# Disable to load providers +# https://github.com/microsoft/azure-pipelines-agent/issues/3834 +if isUbuntu22; then + sed -i 's/openssl_conf = openssl_init/#openssl_conf = openssl_init/g' /etc/ssl/openssl.cnf +fi