mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-30 09:36:41 +00:00
Put the dracut_args --omit back into /etc/kdump.conf
This commit is contained in:
parent
b58ea242fd
commit
cafb5bef10
@ -246,10 +246,8 @@ EOF
|
||||
|
||||
echo "nfs $KDIP:$KDPATH" > /etc/kdump.conf
|
||||
echo "default shell" >> /etc/kdump.conf
|
||||
if (pmatch $OSVER "rhel7*") || (pmatch $OSVER "rhels7*");then
|
||||
#strip "xcat" out of the initramfs for kdump
|
||||
echo "dracut_args --omit \"xcat\"" >> /etc/kdump.conf
|
||||
fi
|
||||
#strip "xcat" out of the initramfs for kdump
|
||||
echo "dracut_args --omit \"xcat\"" >> /etc/kdump.conf
|
||||
#strip the unnecessary kernel options from /proc/cmdline
|
||||
#the modified "cmdline" will be used as the kernel options
|
||||
#for kdump initramfs; otherwise, the "service kdump restart" will fail
|
||||
|
Loading…
x
Reference in New Issue
Block a user