2
0
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:
zet809 2016-08-02 14:44:18 +08:00 committed by yangsong
parent 42fbc5fe8e
commit 91954591ed

View File

@ -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 {