diff --git a/images/ubuntu/scripts/build/configure-environment.sh b/images/ubuntu/scripts/build/configure-environment.sh index cd7fa9f5c2e8..5e3781578523 100644 --- a/images/ubuntu/scripts/build/configure-environment.sh +++ b/images/ubuntu/scripts/build/configure-environment.sh @@ -68,7 +68,3 @@ fi if is_ubuntu22; then sed -i 's/openssl_conf = openssl_init/#openssl_conf = openssl_init/g' /etc/ssl/openssl.cnf fi - -# Disable apparmor -systemctl is-active --quiet apparmor.service && systemctl stop apparmor.service -systemctl disable apparmor.service diff --git a/images/ubuntu/scripts/tests/System.Tests.ps1 b/images/ubuntu/scripts/tests/System.Tests.ps1 index 2a4bec3df2ec..457eae078ea9 100644 --- a/images/ubuntu/scripts/tests/System.Tests.ps1 +++ b/images/ubuntu/scripts/tests/System.Tests.ps1 @@ -6,9 +6,3 @@ Describe "Disk free space" -Skip:(-not [String]::IsNullOrEmpty($env:AGENT_NAME) $freeSpace | Should -BeGreaterOrEqual 17GB } } - -Describe "Apparmor is disabled" { - It "Apparmor is disabled" { - systemctl is-active apparmor | Should -Be "inactive" - } -}