mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-30 09:36:41 +00:00
Revert "Copy file /etc/os-release for kdump over ethernet on RHEL 8"
This reverts commit 3640ce59e1def80b8a05a1b8d1516340cdd3d811.
This commit is contained in:
parent
25bd151335
commit
6cb7aa0eb2
@ -244,8 +244,6 @@ EOF
|
||||
#with a dummy "proc" inside, which will fake "root=nfs:$KDIP:$KDPATH" as a valid root directory
|
||||
[ -e $MOUNTPATH/proc ] || echo "Dummy file: fake the /proc to pass the checking of 'root=' inside dracut-cmdline " > $MOUNTPATH/proc
|
||||
|
||||
[ -f /etc/os-release ] && mkdir $MOUNTPATH/etc && cp /etc/os-release $MOUNTPATH/etc/os-release
|
||||
|
||||
echo "nfs $KDIP:$KDPATH" > /etc/kdump.conf
|
||||
echo "default shell" >> /etc/kdump.conf
|
||||
#strip "xcat" out of the initramfs for kdump
|
||||
|
Loading…
x
Reference in New Issue
Block a user