Add memory restrictions

This commit is contained in:
Mike Reeves
2023-11-01 15:17:23 -04:00
parent b3b67acf07
commit cc93976db9

View File

@@ -652,7 +652,7 @@ check_requirements() {
if [[ $total_mem_hr -lt $req_mem ]]; then
whiptail_requirements_error "memory" "${total_mem_hr} GB" "${req_mem} GB"
if [[ $is_standalone || $is_heavynode ]]; then
echo "This install type will fail with less than $req_mem GB of memory"
echo "This install type will fail with less than $req_mem GB of memory. Exiting setup."
exit 0
fi
fi