remove the upper bound of 102400T for the range in default crashkernel

This patch makes the default crashkernel value consistent with previous
one.

Fixes: 105c016 ("factor out kdump_get_arch_recommend_crashkernel")
Signed-off-by: Coiby Xu <coxu@redhat.com>
Reviewed-by: Philipp Rudo <prudo@redhat.com>
This commit is contained in:
Coiby Xu 2022-01-25 16:16:58 +08:00
parent 6a3ce83a60
commit c67a836cde

View File

@ -857,7 +857,6 @@ kdump_get_arch_recommend_crashkernel()
fi
fi
_ck_cmdline=${_ck_cmdline//-:/-102400T:}
echo -n "$_ck_cmdline"
}
@ -873,6 +872,7 @@ kdump_get_arch_recommend_size()
fi
sys_mem=$(get_system_size)
_ck_cmdline=$(kdump_get_arch_recommend_crashkernel)
_ck_cmdline=${_ck_cmdline//-:/-102400T:}
get_recommend_size "$sys_mem" "$ck_cmdline"
}