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:
parent
6a3ce83a60
commit
c67a836cde
@ -857,7 +857,6 @@ kdump_get_arch_recommend_crashkernel()
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
_ck_cmdline=${_ck_cmdline//-:/-102400T:}
|
|
||||||
echo -n "$_ck_cmdline"
|
echo -n "$_ck_cmdline"
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -873,6 +872,7 @@ kdump_get_arch_recommend_size()
|
|||||||
fi
|
fi
|
||||||
sys_mem=$(get_system_size)
|
sys_mem=$(get_system_size)
|
||||||
_ck_cmdline=$(kdump_get_arch_recommend_crashkernel)
|
_ck_cmdline=$(kdump_get_arch_recommend_crashkernel)
|
||||||
|
_ck_cmdline=${_ck_cmdline//-:/-102400T:}
|
||||||
get_recommend_size "$sys_mem" "$ck_cmdline"
|
get_recommend_size "$sys_mem" "$ck_cmdline"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user