defect 4580: a minor change for the syntax
This commit is contained in:
parent
30f6a66814
commit
32753450ae
@ -841,7 +841,10 @@ sub mkinstall
|
||||
}
|
||||
|
||||
# parse Mac table to get one mac address in case there are multiples.
|
||||
$mac = xCAT::Utils->parseMacTabEntry($macent->{mac},$node);
|
||||
my $mac;
|
||||
if ($macent->{mac}) {
|
||||
$mac = xCAT::Utils->parseMacTabEntry($macent->{mac},$node);
|
||||
}
|
||||
|
||||
my $net_params = xCAT::NetworkUtils->gen_net_boot_params($ent->{installnic},$ent->{primarynic},$mac);
|
||||
if (exists($net_params->{nicname})) {
|
||||
|
Loading…
Reference in New Issue
Block a user