mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 11:22:27 +00:00 
			
		
		
		
	Copy file /etc/os-release for kdump over ethernet on RHEL 8
This commit is contained in:
		| @@ -244,6 +244,8 @@ 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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user