mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
install: suggest --skip-mem-check when mem check fails
In the memory check failure message, add a hint to the administrator that they can use the --skip-mem-check flag to skip the check. Related: https://pagure.io/freeipa/issue/8404 Signed-off-by: Fraser Tweedale <frase@frase.id.au> Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
This commit is contained in:
parent
cb0ce1bd8b
commit
f8da5bfbea
@ -1132,7 +1132,8 @@ def check_available_memory(ca=False):
|
||||
if available < minimum_suggested:
|
||||
raise ScriptError(
|
||||
"Less than the minimum 1.2GB of RAM is available, "
|
||||
"%.2fGB available" % (available / (1024 * 1024 * 1024))
|
||||
"%.2fGB available. Use --skip-mem-check to suppress this check."
|
||||
% (available / (1024 * 1024 * 1024))
|
||||
)
|
||||
|
||||
def load_external_cert(files, ca_subject):
|
||||
|
Loading…
Reference in New Issue
Block a user