mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Merge pull request #981 from Security-Onion-Solutions/bugfix/disk-space-network-only
[fix] Only check for disk space on a network install
This commit is contained in:
@@ -420,7 +420,7 @@ check_requirements() {
|
|||||||
if [[ "$node_type" == 'fleet' ]]; then req_mem=4; fi
|
if [[ "$node_type" == 'fleet' ]]; then req_mem=4; fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if (( $(echo "$free_space_root < $req_storage" | bc -l) )); then
|
if (( $(echo "$free_space_root < $req_storage" | bc -l) )) && [[ $setup_type == 'network' ]]; then
|
||||||
whiptail_requirements_error "disk space" "${free_space_root} GB" "${req_storage} GB"
|
whiptail_requirements_error "disk space" "${free_space_root} GB" "${req_storage} GB"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user