mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 03:12:30 +00:00 
			
		
		
		
	fix issue [FVT]: sed: can't read /boot/grub/grub.conf in servicenode log file #1730
This commit is contained in:
		| @@ -434,8 +434,8 @@ EOF | ||||
|     fi | ||||
|     sed -i '/127.0.1.1/d' /etc/hosts | ||||
| else | ||||
|     sed -i 's/^serial/#serial/' /boot/grub/grub.conf | ||||
|     sed -i 's/^terminal/#terminal/' /boot/grub/grub.conf | ||||
|     [ -f /boot/grub/grub.conf  ] && sed -i 's/^serial/#serial/' /boot/grub/grub.conf | ||||
|     [ -f /boot/grub/grub.conf  ] && sed -i 's/^terminal/#terminal/' /boot/grub/grub.conf | ||||
|     if [ "$XCATDEBUGMODE" = "1" ] || [ "$XCATDEBUGMODE" = "2" ]; then | ||||
|        msgutil_r "$MASTER_IP" "debug" "/boot/grub/grub.conf updated" "/var/log/xcat/xcat.log" | ||||
|     fi | ||||
|   | ||||
		Reference in New Issue
	
	Block a user