addons: optional start mongodb based on AVX
This commit is contained in:
@@ -206,7 +206,8 @@ else
|
||||
version="${requestedVersion}"
|
||||
fi
|
||||
|
||||
if vergte "${version}" "7.5.99"; then
|
||||
# 7.6 dropped support for CPUs lacking AVX but this came back in 8.0
|
||||
if vergte "${version}" "7.5.99" && vergte "7.8.0" "${version}"; then
|
||||
if ! grep -q avx /proc/cpuinfo; then
|
||||
echo "Cloudron version ${version} requires AVX support in the CPU. No avx found in /proc/cpuinfo"
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user