update the cmdlist with crashkernelsize attribute
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12260 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
d163da308f
commit
4e6128de01
@ -522,12 +522,12 @@ sub mknetboot
|
||||
#create the kcmd for node to support kdump
|
||||
if ($dump){
|
||||
if ($crashkernelsize){
|
||||
$kcmdline .= " crashkernel=$crashkernelsize\@32M dump=$dump ";
|
||||
$kcmdline .= " crashkernel=$crashkernelsize dump=$dump ";
|
||||
}
|
||||
else{
|
||||
# for ppc64, the crashkernel paramter should be "128M@32M", otherwise, some kernel crashes will be met
|
||||
if ($arch eq "ppc64"){
|
||||
$kcmdline .= " crashkernel=128M\@32M dump=$dump ";
|
||||
$kcmdline .= " crashkernel=256M\@64M dump=$dump ";
|
||||
}
|
||||
if ($arch =~ /86/){
|
||||
$kcmdline .= " crashkernel=128M dump=$dump ";
|
||||
|
Loading…
Reference in New Issue
Block a user