Do not check for config file for Mellanox, no longer needed. Also improve error message
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@17012 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -2345,10 +2345,14 @@ sub config_dsh | ||||
| 	    } | ||||
| 	} | ||||
| 	else | ||||
|  | ||||
| 	{ | ||||
|           # if not Mellanox, it does not need a config file | ||||
|           if (!($$options{'devicetype'}  =~ /Mellanox/i)) { | ||||
|             my $rsp = {}; | ||||
|             $rsp->{error}->[0] = "EMsgMISSING_DEV_CFG"; | ||||
|             xCAT::MsgUtils->message('E', $rsp, $::CALLBACK); | ||||
|             $rsp->{error}->[0] = "The config file: $devicepath is missing"; | ||||
|              xCAT::MsgUtils->message('E', $rsp, $::CALLBACK); | ||||
|           } | ||||
| 	} | ||||
|     } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user