mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-11-04 13:22:36 +00:00 
			
		
		
		
	enhance mlnxofed_ib_install.v2 return 1 when service openibd restart failed
This commit is contained in:
		@@ -328,6 +328,10 @@ EOF
 | 
			
		||||
        #force openibd load all modules in need, restart again
 | 
			
		||||
        sleep 1
 | 
			
		||||
        service openibd restart
 | 
			
		||||
        if [ "$?" != "0" ] ;then
 | 
			
		||||
            echo "[Error] service openibd restart failed."
 | 
			
		||||
            exit 1
 | 
			
		||||
        fi
 | 
			
		||||
    fi
 | 
			
		||||
 | 
			
		||||
    if [[ "$NODESETSTATE" == "genimage" ]]; then
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user