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:
parent
bd8f5021f5
commit
b7d1915698
@ -283,7 +283,7 @@ sub process_request {
|
||||
unless ($firstmac) {
|
||||
$firstmac = $mac;
|
||||
}
|
||||
if ($host eq $node) {
|
||||
if (!$host || $host eq $node) {
|
||||
$firstmac = $mac;
|
||||
last;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user