Update the code that get the correct switch infor for the install nic

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15967 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
daniceexi 2013-04-12 08:11:56 +00:00
parent bd8f5021f5
commit b7d1915698

View File

@ -283,7 +283,7 @@ sub process_request {
unless ($firstmac) {
$firstmac = $mac;
}
if ($host eq $node) {
if (!$host || $host eq $node) {
$firstmac = $mac;
last;
}