mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-29 17:23:08 +00:00
To support more than 1 nics connect to the install network (#1613)
This commit is contained in:
parent
42fbc5fe8e
commit
91954591ed
@ -298,7 +298,9 @@ sub process_request {
|
||||
print Dumper($hosttag) . "\n";
|
||||
if ($hosttag) {
|
||||
$usednames{$hosttag} = 1;
|
||||
$usednames_for_net{$netn} = $hosttag;
|
||||
unless ($usednames_for_net{$netn}) {
|
||||
$usednames_for_net{$netn} = $hosttag;
|
||||
}
|
||||
if ($hosttag eq $node) {
|
||||
$macstring .= $currmac . "|";
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user