mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-13 04:32:48 +01:00
skip continue prompt if user cannot actually contine
This commit is contained in:
@@ -656,11 +656,11 @@ check_requirements() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $total_mem_hr -lt $req_mem ]]; then
|
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
|
if [[ $is_standalone || $is_heavynode ]]; then
|
||||||
echo "This install type will fail with less than $req_mem GB of memory. Exiting setup."
|
echo "This install type will fail with less than $req_mem GB of memory. Exiting setup."
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
whiptail_requirements_error "memory" "${total_mem_hr} GB" "${req_mem} GB"
|
||||||
fi
|
fi
|
||||||
if [[ $is_standalone || $is_heavynode ]]; then
|
if [[ $is_standalone || $is_heavynode ]]; then
|
||||||
if [[ $total_mem_hr -gt 15 && $total_mem_hr -lt 24 ]]; then
|
if [[ $total_mem_hr -gt 15 && $total_mem_hr -lt 24 ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user